From: Antonio Cangiano Date: 2005-12-26T13:57:52+09:00 Subject: Re: [EVALUATION] - E05 - Ruby 1.8.4 ri class documentation Ilias Lazaridis wrote: > can someone please post the output of "ri class", thus I can verify if > something has changed? ----------------------------------------------------------- Object#class obj.class => class ------------------------------------------------------------------------ Returns the class of _obj_, now preferred over +Object#type+, as an object's type in Ruby is only loosely tied to that object's class. This method must always be called with an explicit receiver, as +class+ is also a reserved word in Ruby. 1.class #=> Fixnum self.class #=> Object Cheers, Antonio -- Antonio Cangiano My Ruby blog: http://www.antoniocangiano.com