From: dblack@... Date: 2003-02-11T09:03:30+09:00 Subject: Re: grabbing an included module's proxy class Hi -- On Tue, 11 Feb 2003, Chris Pine wrote: > You can grab a singleton class with this well-known trick: > > x = 'foo' > singletonClass = class << x; self; end > > But is it possible to grab an included module's proxy class? So if I > include module Mod into class String, like: > > class String > include Mod > end > > can I get the String:Mod proxy class? class << Mod; self; end David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav