class IniParse::Lines::Blank
Represents a blank line. Used so that we can preserve blank lines when writing back to the file.
Public Class Methods
parse(line, opts)
click to toggle source
# File lib/iniparse/lines.rb, line 288 def self.parse(line, opts) if line !~ /\S/ # blank if opts[:comment].nil? [:blank] else [:comment, opts[:comment], opts] end end end
Public Instance Methods
blank?()
click to toggle source
# File lib/iniparse/lines.rb, line 284 def blank? true end