From: Robert McGovern Date: 2002-12-20T18:57:22+09:00 Subject: Re: determing defined constants for a class > Have you considered using constants with a symbolic rather than numeric > value? > > TRACK_LENGTH = :TRACK_LENGTH > > > will let you check if a given objects is one of your allowed constants. > (You might consider a hash for this, if it's going to be large.) Many thanks for the suggestions Joel, exactly the sort of ideas I was after. much appreicated! Rob