Sha256: 0c5125438e830afc5fac4d22fd31b3ccf1d37db92586d88899739c79b73aefee
Contents?: true
Size: 191 Bytes
Versions: 24
Compression:
Stored size: 191 Bytes
Contents
module Toy module Extensions module Float def to_store(value, *) value.nil? ? nil : value.to_f end end end end class Float extend Toy::Extensions::Float end
Version data entries
24 entries across 24 versions & 1 rubygems
Version | Path |
---|---|
toystore-0.6.2 | lib/toy/extensions/float.rb |
toystore-0.6.1 | lib/toy/extensions/float.rb |
toystore-0.6 | lib/toy/extensions/float.rb |
toystore-0.5 | lib/toy/extensions/float.rb |