B
benjohn
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.
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.