From: Robert Klemme Date: 2011-08-01T05:21:45+09:00 Subject: Re: send() docs are wrong On Sun, Jul 31, 2011 at 8:47 PM, 7stud -- wrote: > Chris White wrote in post #1014020: >> On Jul 31, 2011, at 10:51 AM, 7stud -- wrote: >> >>> end >>> receiver, and k.class would therefore output: Klass. >> Potentially misleading yes, incorrect no. >> > > Oh, please. I guess you are referring to http://www.ruby-doc.org/core/classes/Object.html#M000999 It never occurred to me that obj and obj must be the same object, especially since the example shows differently. I believe it is most reasonable to expect to get back what the method returns. Were you actually misled into believing that you always get back the original receiver? Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/