TwP / inifile

Native Ruby package for reading and writing INI files
http://codeforpeople.rubyforge.org/inifile
95 stars 47 forks source link

Initialize by hash #29

Closed TwP closed 10 years ago

TwP commented 10 years ago

These changes allow an IniFile to be created by passing in a Hash as the contents. To that end, the method signature of the constructor has been altered so that the contents are passed in only via the options hash:

IniFile.new(:content => hash)

closes #20