TwP / inifile

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

comments #48

Open letarg0 opened 6 years ago

letarg0 commented 6 years ago

comment is not stored when use .save() function. i cos my comments

#!/usr/bin/env ruby
# encoding: utf-8
require 'inifile'
ini = IniFile.load('test.ini')
ini['section']['foo'] = 'baz'
ini.save

if test.ini have comment when save i lost it!