class IniParse::Parser

def parse_line(line)


IniParse::ParseError: If the line could not be parsed.
==== Raises

Generator instance can add the line to the Document.
comment, and indent, then returns the appropriate tuple so that the
Takes a raw line from an INI document, striping out any inline
def parse_line(line)
  sanitized, opts = strip_indent(*strip_comment(line, {}))
  parsed = nil
  @@parse_types.each do |type|
    break if (parsed = type.parse(sanitized, opts))
  end
  if parsed.nil?
    raise IniParse::ParseError,
      "A line of your INI document could not be parsed to a " \
      "LineType: #{line.inspect}."
  end
  parsed
end