Class: MongoMapper::Associations::Collection
- Defined in:
- lib/mongo_mapper/associations/collection.rb
Direct Known Subclasses
InArrayProxy, ManyDocumentsProxy, ManyEmbeddedPolymorphicProxy, ManyEmbeddedProxy
Instance Attribute Summary
Attributes inherited from Proxy
Instance Method Summary collapse
Methods inherited from Proxy
#===, #blank?, #initialize, #inspect, #loaded, #loaded?, #nil?, #present?, #proxy_respond_to?, #reload, #replace, #respond_to?, #send
Constructor Details
This class inherits a constructor from MongoMapper::Associations::Proxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MongoMapper::Associations::Proxy
Instance Method Details
#reset ⇒ Object
13 14 15 16 |
# File 'lib/mongo_mapper/associations/collection.rb', line 13 def reset super target = [] end |