[#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:01980] Re: Iterating over all instances of a class

From: Dave Thomas <Dave@...>
Date: 2000-03-17 16:48:54 UTC
List: ruby-talk #1980
"David Douthitt" <DDouthitt@cuna.com> writes:

> A problem with doing it the way you described (in my case) is that
> every object has a "name" and has to be named.  In an array,
> the objects are "anonymous" (no name, just an index).

Perhaps you want to look at Hashes...

Dave

In This Thread

Prev Next