From: Matthew Rudy Date: 2007-07-16T08:54:24+09:00 Subject: Re: I need serious help! yeah they'd have to be lowercase though. ideally you'd define class Location attr_reader :name .... def initialize(name) @name = name end end then you'd define > lake = Location.new("lake") > lake.name -> "lake" and such... you'd probably want to use an array of locations instead, but that'd be harder to understand maybe Joe Wiltrout wrote: > Ok. When you put it that way, it's much simpler. But could you rename > your aa, ab, etc to names such as Lake, Stream, Forest, Mountain, > Penobscot? Or are we stuck with aa ab ac bb ba bc ca cb ca et, c.. -- Posted via http://www.ruby-forum.com/.