From: Austin Ziegler Date: 2004-07-26T21:18:51+09:00 Subject: Re: Module#include witha block On Mon, 26 Jul 2004 12:51:52 +0900, Bill Atkins wrote: > I'd really like to use include in block form, so I can do something like this: > > def somefunc > include Wx do > f = Frame.new > t = Window.new > end > end > > and the Wx:: would be implied only within the block. Any idea how I could do this? The closest that I think you'll get is the "with" expression that gets reimplemented every so often. Consider: http://qurl.net/3e -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca