From: Ara.T.Howard@... Date: 2005-05-17T08:00:30+09:00 Subject: Re: infinite number of singleton_classes On Tue, 17 May 2005, Lionel Thiry wrote: > http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-talk/140562 yes i saw that. > If you really want ruby2 works the way you described it, I advice you to > urgently post an RCR for it. no. the new behaviour is fine - i was simply describing how it is now and how that relates to the 'infinite levels' issue in that i think it's strange - but consistent. believe me - you've no idea how much easier my trait lib would have been to write if child.singleton_class < parent.singleton_class as it were i had to do this class << self # determine our 'singleton_super' so we can use it's ancestors end and this is precisely because parent/child meta classes do not fit into the same kind of hierarchy as their respective classes. so i will love the new behaviour. i'm going to quit on this now because i feel like i've only confused things. sorry if i have. cheers. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | renunciation is not getting rid of the things of this world, but accepting | that they pass away. --aitken roshi ===============================================================================