Method: Puppet::Settings#persection
- Defined in:
- lib/puppet/settings.rb
#persection(section) ⇒ Object
Iterate across all of the objects in a given section.
791 792 793 794 795 796 797 798 |
# File 'lib/puppet/settings.rb', line 791 def persection(section) section = section.to_sym each { |_name, obj| if obj.section == section yield obj end } end |