From: "David A. Black" Date: 2005-09-27T20:06:25+09:00 Subject: Re: [Q] how to cancel the 'extend' which once has done Hi -- On Tue, 27 Sep 2005, SHIGETOMI, Takuhiko wrote: > hello, Pit. thank you for your information. > >> I haven't used it yet, but I think Shin-ichiro Hara's import-module is >> what you're looking for: >> >> http://blade.nagaokaut.ac.jp/~sinara/ruby/import-module > > intriguing! i bookmarked this. > it shows several important/interesting techniques. they are useful. > > unfortunately, this is now what i am seeking. > since this import-module manipulates not an instance but a class. Actually it lets you do this: obj.import(Mod) { ... } where the object will be extended with Mod for the duration of the block. David -- David A. Black dblack@wobblini.net