Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
// first iteration: simple guard by version string
if(isRubyVersion("1.9.2-p136")){
// ....
}
// second iteration: Version object with semantic versioning, etc
RubyVersion v = version("1.9.2-p136");
v.major() // 1.9
v.minor() // 2
v.patchlevel() // 136
v.is1_9() // true (for compat)
v1 = version("1.9.2-p137");
v > v1 // false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.