From: Dave Thomas Date: 2001-05-08T06:10:19+09:00 Subject: [ruby-talk:14811] Re: An Attempt at Versioning Mathieu Bouchard writes: > The requiring file does this kind of thing: > > require("SomeFile") {|v| v >= [2,3] && v < [2,4] } > > and the required file does this kind of thing: > > require "Version"; version_is 5,1 How about extending the idea slightly, and at the same time making it slightly more general: somefile.rb: VersionInfo { version 1.2.3 author "matju" ... etc } otherfile.rb: require "somefile" { |v| v.version.between(1.2, 1.3) and v.author == "matju")} Having the VersionInfo in there means that RAA.succ can extract good stuff too. Just an idea Dave