Class: Mongoid::Association::EagerLoad::Inclusion Private
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Subclasses:
|
|
| Inherits: | Object |
| Defined in: | lib/mongoid/association/eager_load/inclusion.rb |
Overview
Something an eager load contributes to the pipeline, in the role it plays
while the pipeline is built. A root is asked to contribute and the whole
tree follows by recursion. AssociationInclusion stands for a single
association; DiscriminatedInclusion stands for a name several subclasses
share.
Instance Method Summary
-
#contribute(destination, chain)
Internal use only
Add this inclusion's stages to the destination.
Instance Method Details
#contribute(destination, chain)
Add this inclusion's stages to the destination.
# File 'lib/mongoid/association/eager_load/inclusion.rb', line 20
def contribute(destination, chain) raise NotImplementedError end