Method: Puppet::Util::Settings#persection
- Defined in:
- lib/vendor/puppet/util/settings.rb
#persection(section) ⇒ Object
Iterate across all of the objects in a given section.
388 389 390 391 392 393 394 395 |
# File 'lib/vendor/puppet/util/settings.rb', line 388 def persection(section) section = section.to_sym self.each { |name, obj| if obj.section == section yield obj end } end |