From: Austin Ziegler Date: 2006-06-17T02:59:27+09:00 Subject: Re: Why the lack of mixing-in support for Class methods? On 6/16/06, Christian Neukirchen wrote: > "Austin Ziegler" writes: > > Should we have __dup__ and __clone__ and __class__ and __object_id__? > Instead of further pythonizing the language (sorry, couldn't resist), > I'd rather prefer a non-OO way for the tricky cases: > > Object.object_id_of myobj > Object.class_of myobj > Object.send_to myobj, :foo > > Maybe it's not optimal to make them singleton methods of Object, a > module would probably be better. I could get behind that. Probably worth an RCR, I think. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca