From: Roberto Cm Date: 2010-04-20T07:27:48+09:00 Subject: Re: ya config file parser Brian Candler wrote: > That looks a bit broken - 'data' is a local variable or method, which > you don't seem to have, which is different from @data which is an > instance variable. yea it's a typo. Thanks for the rescue though! -- > rescue Errno::ENOENT -- The problem with the save method is .. well actually nothing, I need that too :) But I want to not have to explicitly call save, and instead have the object detect changes and behave dynamically -- ie, assignment to the config instance should write directly to disk as well as to the attribute during the set_x methods. But how do I change setter methods that don't exist yet? -- Posted via http://www.ruby-forum.com/.