From: Gregory Seidman Date: 2006-03-18T01:49:42+09:00 Subject: Re: c/c++ enum equivalent? On Sat, Mar 18, 2006 at 01:42:51AM +0900, benjohn@fysh.org wrote: } I'd like to fill a module with valueless constants (because I don't care } about the actual values, just that they are uneque, and named) - is that } a good thing to do, and can I do that? :) } } I tried: } } module AnEnum } :ValueOne } :ValueTwo } ... } end } } But mentioning a constant's sysmbol doesn't define it. Those are symbols, not constants. And they are what you want. You don't need to define them anywhere. They are defined by being used. --Greg