From: uncutstone wu Date: 2006-06-20T20:29:42+09:00 Subject: Re: About , meta class and Cl ts wrote: >>>>>> "u" == uncutstone wu writes: > > u> I think it is because 1.8.2 and 1.8.4 have different object models. > > no, the object model is not changed. > > the problem is here > > moulon% ./ruby -ve 'a = Object.new; p class << a; self end.superclass' > ruby 1.8.2 (2004-12-25) [i686-linux] > Object > moulon% > > moulon% /usr/bin/ruby -ve 'a = Object.new; p class << a; self > end.superclass' > ruby 1.8.4 (2005-12-24) [i486-linux] > # > moulon% > > moulon% ./ruby -ve 'class A < Object; end; p class << A; self > end.superclass' > ruby 1.8.2 (2004-12-25) [i686-linux] > # > moulon% > > moulon% /usr/bin/ruby -ve 'class A < Object; end; p class << A; self > end.superclass' > ruby 1.8.4 (2005-12-24) [i486-linux] > # > moulon% > > trying to correct a bug has perhaps introduced a problem > So, you mean this is a bug of version 1.8.4. Best Regards, uncutstone -- Posted via http://www.ruby-forum.com/.