Santanu
12/27/2007 4:49:00 PM
On Dec 27, 9:35 pm, Stephen Duncan <stephen.dun...@gmail.com> wrote:
> On Dec 27, 2007 11:24 AM, Santanu <thisissant...@gmail.com> wrote:
> > However, I am still searching for the exact syntax for asking for help
> > on say, Array.collect, etc. at the irb prompt. Any pointers?
> >> help 'Array#collect'
Thanks. That works. By the way, "help 'Array.collect'" works too.
Are Array.collect and Array#collect equivalent or is this about
class method vs. instance method. (I don't know ruby that much
yet. Just started learning it from "Ruby By Example" yesterday).
Regards,
Santanu