From: Sean O'Dell Date: 2004-06-26T01:45:21+09:00 Subject: Re: Is it considered Harmful? On Friday 25 June 2004 09:00, ts wrote: > >>>>> "S" == Sean O'Dell writes: > > S> You're wrong on that. It wouldn't crash Ruby to change the class of an > > Just search in http://www.ruby-talk.org/ > > S> object. Objects already change their class when you turn them into > S> singletons. Changing it to any class of your choosing would be even > simpler, S> since creating a singleton involves inheriting all the old > class methods; S> changing a class wouldn't require all that work. > > You have just forgotten that a class is an object ... No I haven't. That has no bearing on whether or not you can change an object's class. Sean O'Dell