Class: Puppet::Settings::IniFile::Line Private
- Includes:
- LineNumber
- 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
-
#text ⇒ Object
Returns the value of attribute text.
Attributes included from LineNumber
Instance Method Summary collapse
- #to_s ⇒ Object private
- #write(fh) ⇒ Object private
Methods included from LineNumber
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text
173 174 175 |
# File 'lib/puppet/settings/ini_file.rb', line 173 def text @text end |
Instance Method Details
#to_s ⇒ 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.
176 177 178 |
# File 'lib/puppet/settings/ini_file.rb', line 176 def to_s text end |
#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.
180 181 182 |
# File 'lib/puppet/settings/ini_file.rb', line 180 def write(fh) fh.puts(to_s) end |