From: Rusty Geldmacher Date: 2006-04-17T08:40:37+09:00 Subject: Re: Simple Enumerations in Rub Oh right, I did come across that while poking around for prior work, but I thought it could be simpler... I did not like having to instantiate a class each time for the enum, and having a seperate class for each member. Those are just personal preferences -- that one is certainly a valid approach! Including Comparable is a good idea, too. rusty Florian Groß wrote: > Rusty Geldmacher wrote: > >> I guess the attachment got lost with the forum... do you have a URL? > > Ah, sounds like an RFE for the ruby-forum.com software. > > I've uploaded it to http://flgr.0x42.net/code/enum.rb -- Posted via http://www.ruby-forum.com/.