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.
199 200 201 |
# File 'lib/puppet/util/inifile.rb', line 199 def sections @contents.select { |entry| entry.is_a? Section } end |