From: Dossy Date: 2002-06-13T02:22:08+09:00 Subject: Re: Modules and version determination On 2002.06.13, Paul Brannan wrote: > > Ruby uses MAJOR, MINOR, and TEENY. It would be nice to be consistent. Ah, didn't know that. > I wrote a class called RubyVersion that I use to check to see if I have > the right version of Ruby: [...] > It can also be used for modules, like you describe: [...] > but it's not complete. I definitely like your idea. Someone else posted that they had code that could be used as a Mixin to let you attach versioning information to a class, I think that's the better way of doing this ... But, maybe I'm wrong. It's good to know that it can be done either way ... -- Dossy -- Dossy Shiobara mail: dossy@panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)