From: Rob Partington Date: 2002-06-07T03:03:24+09:00 Subject: Re: Pascal-like 'with' statement? In message <3CFEACC6.5040208@BUHBYESPAMcelsoft.com>, "Sean O'Dell" writes: > > Cfg = OpenStruct.new > > with Cfg do > > host = 'localhost' > > user = 'shoujoai' > > database = 'shoujoai' > > end > That's something I would LOVE to see added. I wrote a module that does that. It's even on the RAA although the hostname is wrong. Look at http://ipy.frottage.org/rjp/ruby/with.html -- rob partington % rjp@browser.org % http://lynx.browser.org/