Module: Mongoid::Contextual::Eager

Included in:
Memory, Mongo
Defined in:
lib/mongoid/contextual/eager.rb

Instance Attribute Summary collapse

Instance Attribute Details

#eager_loadedObject

Returns the value of attribute eager_loaded


7
8
9
# File 'lib/mongoid/contextual/eager.rb', line 7

def eager_loaded
  @eager_loaded
end

#eager_loaded Has the context been eager loaded?(Hasthecontextbeeneagerloaded?) ⇒ Object


7
# File 'lib/mongoid/contextual/eager.rb', line 7

attr_accessor :eager_loaded