---2049402039-1942905843-1169393353041 Content-Type: MULTIPART/MIXED; BOUNDARY="-2049402039-1942905843-1169393353=:3041" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---2049402039-1942905843-1169393353041 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Hi -- On Sun, 21 Jan 2007, Wolfgang NáÅasi-Donner wrote: > dblack / wobblini.net schrieb: >> a.x >> a.send(:x) >> >> In these two statements, a is receiving the message x. That doesn't >> happen when you do this: >> >> a.method(:x) >> >> or this: >> >> a.respond_to?(:x) > > I think "a" receives the message "x" only in the first case. The second one > means '"a" receives the message "send" and the parameter ":x"'. Yes, I agree, though I still think it's reasonable to say that, as a result of the send operation, a receives the message :x. In any case, I included it because it demonstrates that there's a "meta" or two-step way of getting a message to an object, but that a.method(:x) isn't such a technique. David -- Q. What is THE Ruby book for Rails developers? A. RUBY FOR RAILS by David A. Black (http://www.manning.com/black) (See what readers are saying! http://www.rubypal.com/r4rrevs.pdf) Q. Where can I get Ruby/Rails on-site training, consulting, coaching? A. Ruby Power and Light, LLC (http://www.rubypal.com) ---2049402039-1942905843-1169393353041-- ---2049402039-1942905843-1169393353041--