>>>>> "u" == uncutstone wu <uncutstone / sina.com> 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]
#<Class:Object>
moulon% 

moulon% ./ruby -ve 'class A < Object; end; p class << A; self end.superclass'
ruby 1.8.2 (2004-12-25) [i686-linux]
#<Class:Object>
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]
#<Class:Class>
moulon% 

 trying to correct a bug has perhaps introduced a problem


Guy Decoux