elf wrote:
> I keep seeing this syntax in documentation: Object#method, but in actual
> use sending a message to an object is usually
> 
>         object = Object.new
>         object.method
> 
> Is this just to emphasize that method() operates on an instance of
> Object and not the class Object?
> 
>                 Elf

Where is this documented? I can't find it in any book...and searching 
google on Ruby object#method doesn't lead to an explanation of this. You 
get reams of hits  using object#method syntax but not where it comes 
from.

-- 
Posted via http://www.ruby-forum.com/.