Class Puppet::Util::IniConfig::Section
In: lib/puppet/util/inifile.rb
Parent: Object

A section in a .ini file

Methods

[]   []=   add_line   dirty?   format   mark_clean   new  

Attributes

file  [R] 
name  [R] 

Public Class methods

Public Instance methods

Return the value associated with KEY. If no such entry exists, return nil

Set the entry ‘key=value’. If no entry with the given key exists, one is appended to teh end of the section

Add a line of text (e.g., a comment) Such lines will be written back out in exactly the same place they were read in

Has this section been modified since it‘s been read in or written back to disk

Format the section as text in the way it should be written to file

Should only be used internally

[Validate]