module Mongoid::Criteria::Queryable::Extensions::BigDecimal::ClassMethods

def evolve(object)

Returns:
  • (String) - The big decimal as a string.

Parameters:
  • object (BigDecimal) -- The object to convert.

Other tags:
    Example: Evolve the big decimal -
def evolve(object)
  __evolve__(object) do |obj|
    obj ? obj.to_s : obj
  end
end