Sha256: 2dbecfc15f00d40b8367ed608403fbbb81e905e3173da1296d45746bbc912835

Contents?: true

Size: 128 Bytes

Versions: 6

Compression:

Stored size: 128 Bytes

Contents

# Adds the <tt>to_milliseconds</tt> method to any float value
class Float
  def to_milliseconds
    (1000 * self).to_i
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bigbench-0.0.6 lib/bigbench/float_extensions.rb
bigbench-0.0.5 lib/bigbench/float_extensions.rb
bigbench-0.0.4 lib/bigbench/float_extensions.rb
bigbench-0.0.3 lib/bigbench/float_extensions.rb
bigbench-0.0.2 lib/bigbench/float_extensions.rb
bigbench-0.0.1 lib/bigbench/float_extensions.rb