At Mon, 8 Jan 2001 11:50:33 +0900,
Dave Thomas wrote:

> > So it's done to "discourage" people from doing it?  E.g. currently
> > the best way to compare version numbers would be:
> > 
> > irb(main):003:0> ([1, 6, 2] <=> [1, 4, 3]) == 1
> 
> When we get around to adding versioning, I hope we'll have a version
> class with comparison semantics.

I realized the other day, when I tried to create class Version, that
creating class Version which is generic enough to satisfy all the
version scheme we have is very close to impossible.

So I ended up with a class for Ruby versioning scheme with only what I
need. constructor for a String, an Array, and Integers, #major,
#minor, #teeny, and #<=> for Comparable.

any one has better idea?
--
         yashi