class IniParse::Lines::Section
def [](key)
the value of each option.
matches a set of duplicate options, an array will be returned containing
Returns nil if there is no corresponding option. If the key provided
Returns the value of an option identified by +key+.
def [](key) key = key.to_s if @lines.has_key?(key) if (match = @lines[key]).kind_of?(Array) match.map { |line| line.value } else match.value end end end