Module: Puppet::Pops::Containment
- Included in:
- Model::PopsObject
- Defined in:
- lib/puppet/pops/containment.rb
Overview
FIXME: This module should be updated when a newer version of RGen (>0.6.2) adds required meta model “e-method” supports.
Defined Under Namespace
Classes: EAllContentsEnumerator
Instance Method Summary collapse
-
#eAllContents ⇒ Object
Returns Enumerable, thus allowing some_element.eAllContents each {|contained| } This is a depth first enumeration where parent appears before children.
Instance Method Details
#eAllContents ⇒ Object
Note:
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.
8 9 10 |
# File 'lib/puppet/pops/containment.rb', line 8 def eAllContents EAllContentsEnumerator.new(self) end |