[#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:01960] Re: Class Variables

From: matz@... (Yukihiro Matsumoto)
Date: 2000-03-17 09:34:31 UTC
List: ruby-talk #1960
Hi,

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.

In This Thread

Prev Next