module Puppet::Pops::Containment

Public Instance Methods

eAllContainers() click to toggle source
# File lib/puppet/pops/containment.rb, line 13
def eAllContainers
  EAllContainersEnumerator.new(self)
end
eAllContents() click to toggle source

Returns Enumerable, thus allowing some_element.eAllContents each {|contained| } This is a depth first enumeration where parent appears before children. @note the top-most object itself is not included in the enumeration, only what it contains.

# File lib/puppet/pops/containment.rb, line 9
def eAllContents
  EAllContentsEnumerator.new(self)
end