From: Dave Thomas Date: 2000-03-16T08:32:11-06:00 Subject: [ruby-talk:01884] Re: Learning Ruby "Dat Nguyen" writes: > irb(main):003:0> word(0) > NameError: undefined method `word' for # > (irb):3:in `irb_binding' > irb(main):004:0> That should be word[0]. Square brackets are for indexing, and round parentheses (in this context) indicate the parameter list for a method call. Regards Dave