From: Jim Freeze Date: 2001-11-01T02:53:49+09:00 Subject: [ruby-talk:23999] Re: RubyGems Discussion On Wed, 31 Oct 2001, Paul Brannan wrote: > Another possibility (and I do this with config files) is to put a set of > constants in the Ruby file. You can even temporarily overload [], so you > end up with something that looks a LOT like an INI file: > > [section] > CONSTANT1 = value1 > CONSTANT2 = value2 > How do you overload [] to get the above affect? Thanks ========================================================= Jim Freeze jim@freeze.org --------------------------------------------------------- No comment at this time. http://www.freeze.org =========================================================