From: Chris White Date: 2011-08-01T08:09:46+09:00 Subject: [ruby-core:38633] [Ruby 1.9 - Bug #5125][Open] obj.send() documentation issue Issue #5125 has been reported by Chris White. ---------------------------------------- Bug #5125: obj.send() documentation issue http://redmine.ruby-lang.org/issues/5125 Author: Chris White Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.2p290 (2011-07-09) [x86_64-darwin10.8.0] Filing this as a bug per request of Eric Hodel on the ruby-talk mailing list. Excerpt from the mailing list post ( http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/386033 ): ================ obj.send(symbol [, args...]) obj obj.__send__(symbol [, args...]) ���� obj Somehow, I don't expect the return value of send() to be the receiver. Let's test send()'s return value using the example provided: class Klass def hello(*args) "Hello " + args.join(' ') end end k = Klass.new x = k.send :hello, "gentle", "readers" puts x.class --output:-- String ================ The issue is that appears that from the signature, the same object will be returned. This may or may not be the case depending on the return of the method that send is utilizing. -- http://redmine.ruby-lang.org