From: Robert Klemme Date: 2012-05-23T04:05:51+09:00 Subject: Re: Changing self class from inside a method?? On Tue, May 22, 2012 at 8:46 PM, Admin Tensor wrote: > Yes, indeed it is achievable using a C extension, at least for the > user-defined class. Still it does not help for the use case at hand since nil is a singleton instance. All others will also see nil turn into an Array which will have dramatic effects. This is a classical Bad Idea(tm). Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/