class Float

Adds the to_milliseconds method to any float value

Public Instance Methods

to_milliseconds() click to toggle source
# File lib/bigbench/float_extensions.rb, line 3
def to_milliseconds
  (1000 * self).to_i
end