Module: Mongoid::Extensions::Decimal128::ClassMethods
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Extended In:
| |
Defined in: | lib/mongoid/extensions/decimal128.rb |
Instance Method Summary
-
#evolve(object) ⇒ BSON::Decimal128
Evolve the object into a mongo-friendly value to query with.
Instance Method Details
#evolve(object) ⇒ BSON::Decimal128
Evolve the object into a mongo-friendly value to query with.
# File 'lib/mongoid/extensions/decimal128.rb', line 30
def evolve(object) object.__evolve_decimal128__ end