Module: Puppet::Pops::Containment Private
- Included in:
- Binder::Bindings::BindingsModelObject, Model::PopsObject
- Defined in:
- lib/puppet/pops/containment.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: EAllContainersEnumerator, EAllContentsEnumerator
Instance Method Summary collapse
- #eAllContainers ⇒ Object private
-
#eAllContents ⇒ Object
private
Returns Enumerable, thus allowing some_element.eAllContents each {|contained| } This is a depth first enumeration where parent appears before children.
Instance Method Details
#eAllContainers ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 |
# File 'lib/puppet/pops/containment.rb', line 13 def eAllContainers EAllContainersEnumerator.new(self) end |
#eAllContents ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
the top-most object itself is not included in the enumeration, only what it contains.
Returns Enumerable, thus allowing some_element.eAllContents each {|contained| } This is a depth first enumeration where parent appears before children.
9 10 11 |
# File 'lib/puppet/pops/containment.rb', line 9 def eAllContents EAllContentsEnumerator.new(self) end |