Method: Puppet::Util::IniConfig::PhysicalFile#sections
- Defined in:
- lib/puppet/util/inifile.rb
#sections ⇒ Array<Puppet::Util::IniConfig::Section>
Returns All sections defined in this file.
201 202 203 |
# File 'lib/puppet/util/inifile.rb', line 201 def sections @contents.select { |entry| entry.is_a? Section } end |