From: Matt Harrison Date: 2008-12-24T12:16:06+09:00 Subject: Re: Singleton classes Justin Collins wrote: > require 'singleton' > > will take care of the first issue. As far as how to pass in arguments to > initialize the instance, I played around with it a little but didn't see > an obvious way of doing it. > > -Justin > Excellent, thanks. I think the docs for that class could be a little clearer. As for the initialize problem, I just moved the code from that method into a normal method. So where in initialize it took a filename and opened the file, I just moved that into a "load" method. Thanks for the help. Matt