Class: Puppet::Settings::IniFile::DefaultSection Private
- Inherits:
-
SectionLine
- Object
- Struct
- SectionLine
- Puppet::Settings::IniFile::DefaultSection
- Defined in:
- lib/puppet/settings/ini_file.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #write_sectionline ⇒ Object private
Attributes inherited from SectionLine
Attributes included from LineNumber
Instance Method Summary collapse
-
#initialize ⇒ DefaultSection
constructor
private
A new instance of DefaultSection.
- #write(fh) ⇒ Object private
Methods inherited from SectionLine
Methods included from LineNumber
Constructor Details
#initialize ⇒ DefaultSection
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of DefaultSection.
217 218 219 220 |
# File 'lib/puppet/settings/ini_file.rb', line 217 def initialize @write_sectionline = false super("", DEFAULT_SECTION_NAME, "") end |
Instance Attribute Details
#write_sectionline ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
215 216 217 |
# File 'lib/puppet/settings/ini_file.rb', line 215 def write_sectionline @write_sectionline end |
Instance Method Details
#write(fh) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
222 223 224 225 226 |
# File 'lib/puppet/settings/ini_file.rb', line 222 def write(fh) if @write_sectionline super(fh) end end |