Class | DataMapper::DescendantSet |
In: |
lib/dm-core/support/descendant_set.rb
|
Parent: | Object |
Initialize a DescendantSet instance
@param [to_ary] descendants
initialize with the descendants
@return [undefined]
@api private
Remove a descendant
Also removes from all descendants
@param [Module] descendant
@return [DescendantSet]
self
@api private
Iterate over each descendant
@yield [descendant] @yieldparam [Module] descendant
@return [DescendantSet]
self
@api private
Copy a DescendantSet instance
@param [DescendantSet] original
the original descendants
@return [undefined]
@api private