Discussion: Newbie help
Afficher un message
Vieux 16/09/2007, 09h29   #7
7stud --
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Newbie

7stud -- wrote:
>The symbol argument
>should refer to a string, and that string should be the name of a
>method. send() then executes the method:


After editing that sentence a couple of times, I completely changed the
meaning into something quite confusing. A symbol *always* refers to a
string. That should read:

The symbol argument should refer to a string that is the name of a
method. To create that symbol you take the method name and put a ":" in
front of it.

I hope that s.
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
 
Page generated in 0,05270 seconds with 9 queries