var ini = new IniFile.from_string("""
[section1]
key1=value1
[ section 2 ]
key2=value2
""")
assert ini.sections.length == 2
assert ini.sections.first.name == "section1"
assert ini.sections.last.name == "section 2"
# Sections composing this IniFile
#
# ~~~
# var ini = new IniFile.from_string("""
# [section1]
# key1=value1
# [ section 2 ]
# key2=value2
# """)
# assert ini.sections.length == 2
# assert ini.sections.first.name == "section1"
# assert ini.sections.last.name == "section 2"
# ~~~
var sections = new Array[IniSection]
lib/ini/ini.nit:123,2--136,37