On Dec 7, 2010, at 1:27 PM, Eric MSP Veith wrote: > > Yes, but I don't want to place them in a toplevel namespace, even though that > would be the simplest solution. I'll probably introduce struct/enum ruby > classes for just that pourpose. I've found no elegant solution, yet. That's > why there has been no commit regarding this. >
I'm not saying "global" (though because these are constants there is little harm in "global") You can always have sub-clases (and sub-initiator's) if you wish per-object constants. You "elegant" class guys always get tripped up in the design details ;-) 73 de Jeff ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org