Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/vector_salad/monkeypatches.rb
Overview
Monkeypatches to core Ruby Float class
Instance Method Summary (collapse)
-
- (Object) ~
Multiply number self by unit.
Instance Method Details
- (Object) ~
Multiply number self by unit
27 28 29 |
# File 'lib/vector_salad/monkeypatches.rb', line 27 def ~ self * unit end |