--00504502b079696494046fc827da
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

2009/7/28 Gary Leydon <gary.leydon / yale.edu>

> elf wrote:
> > I keep seeing this syntax in documentation: Object#method, but in actual
> > use sending a message to an object is usually
> >
> >         object  bject.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.


http://ruby-doc.org/core/classes/Object.html#M000336

--
James Coglan
http://jcoglan.com

--00504502b079696494046fc827da--