Sha256: 72cb2479aa693c2cb80a2d73b640cf2838f0ae598d1f5425a35d50aab549885a

Contents?: true

Size: 248 Bytes

Versions: 43

Compression:

Stored size: 248 Bytes

Contents

module Mongoid #:nodoc:
  module Extensions #:nodoc:
    module Float #:nodoc:
      module Conversions #:nodoc:
        def set(value)
          value.to_f
        end
        def get(value)
          value
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
mongoid-0.9.4 lib/mongoid/extensions/float/conversions.rb
mongoid-0.9.3 lib/mongoid/extensions/float/conversions.rb
mongoid-0.9.2 lib/mongoid/extensions/float/conversions.rb
mongoid-0.9.1 lib/mongoid/extensions/float/conversions.rb
mongoid-0.9.0 lib/mongoid/extensions/float/conversions.rb
mongoid-0.8.10 lib/mongoid/extensions/float/conversions.rb
mongoid-0.8.9 lib/mongoid/extensions/float/conversions.rb
mongoid-0.8.8 lib/mongoid/extensions/float/conversions.rb
mongoid-0.8.7 lib/mongoid/extensions/float/conversions.rb
mongoid-0.8.6 lib/mongoid/extensions/float/conversions.rb
mongoid-0.8.5 lib/mongoid/extensions/float/conversions.rb
mongoid-0.8.4 lib/mongoid/extensions/float/conversions.rb
mongoid-0.8.3 lib/mongoid/extensions/float/conversions.rb
mongoid-0.8.2 lib/mongoid/extensions/float/conversions.rb
mongoid-0.8.1 lib/mongoid/extensions/float/conversions.rb
mongoid-0.7.10 lib/mongoid/extensions/float/conversions.rb
mongoid-0.7.9 lib/mongoid/extensions/float/conversions.rb
mongoid-0.7.8 lib/mongoid/extensions/float/conversions.rb
mongoid-0.7.7 lib/mongoid/extensions/float/conversions.rb
mongoid-0.7.6 lib/mongoid/extensions/float/conversions.rb