[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:01966] Re: Class Variables

From: "David Douthitt" <DDouthitt@...>
Date: 2000-03-17 13:30:43 UTC
List: ruby-talk #1966
| In message "[ruby-talk:01934] Re: Class Variables"
|     on 00/03/16, "David Douthitt" <DDouthitt@cuna.com> writes:
| 
| |However, if you rename "startup" to "startup?" it fails with:
| |
| |  ./ruby.functions:46: parse error
| |        @startup? = TRUE
| 
| |The question, then, of course, is why?
| 
| Instance variable names should be in the pattern of /^@[a-zA-Z0-9_]+/.
| `?' is not among them.

I looked in the manual for where it said what variable names could be.
I couldn't find it anywere.  Can we add the name requirements
to the manual?  For ALL identifiers: class, variables, methods, etc.


In This Thread

Prev Next