Module: Mongoid::Criteria::Queryable::Extensions::Object::ClassMethods

Defined in:
lib/mongoid/criteria/queryable/extensions/object.rb

Instance Method Summary collapse

Instance Method Details

#evolve(object) ⇒ Object

Note:

This is here for API compatibility.

Evolve the object.

Examples:

Evolve an object.

Object.evolve("test")

Returns:

  • (Object)

    The provided object.



147
148
149
# File 'lib/mongoid/criteria/queryable/extensions/object.rb', line 147

def evolve(object)
  object
end