class IniParse::Lines::AnonymousSection
Stores options which appear at the beginning of a file, without a preceding section.
Public Class Methods
new()
click to toggle source
Calls superclass method
IniParse::Lines::Section::new
# File lib/iniparse/lines.rb, line 226 def initialize super('__anonymous__') end
Public Instance Methods
to_ini()
click to toggle source
Calls superclass method
IniParse::Lines::Section#to_ini
# File lib/iniparse/lines.rb, line 230 def to_ini # Remove the leading space which is added by joining the blank line # content with the options. super.gsub(/\A\n/, '') end
Private Instance Methods
line_contents()
click to toggle source
# File lib/iniparse/lines.rb, line 240 def line_contents '' end