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.
215 216 217 218 |
# File 'lib/puppet/settings/ini_file.rb', line 215 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.
213 214 215 |
# File 'lib/puppet/settings/ini_file.rb', line 213 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.
220 221 222 223 224 |
# File 'lib/puppet/settings/ini_file.rb', line 220 def write(fh) if @write_sectionline super(fh) end end |