Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/bigbench/float_extensions.rb
Overview
Adds the to_milliseconds
method to any float value
Instance Method Summary collapse
Instance Method Details
#to_milliseconds ⇒ Object
3 4 5 |
# File 'lib/bigbench/float_extensions.rb', line 3 def to_milliseconds (1000 * self).to_i end |