From: Paul Brannan Date: 2002-06-13T04:13:33+09:00 Subject: Re: Modules and version determination On Thu, Jun 13, 2002 at 02:22:08AM +0900, Dossy wrote: > 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 ... The two ideas are somewhat orthogonal. RubyVersion was really just a way of representing the version, so it can easily be compared to other versions. Kirk's mixin attaches the version to the module, and could easily store the version as a Version object instead of as a string or a float. Paul