Class | Gem::Version |
In: |
lib/rubygems/version.rb
|
Parent: | Object |
The Version class processes string versions into comparable values
ints | [R] | |
version | [R] |
Constructs a Version from the version string. A version string is a series of digits separated by dots.
Compares this version with other returning -1, 0, or 1 if the other version is larger, the same, or smaller than this one.
Return a new version object where the next to the last revision number is one greater. (e.g. 5.3.1 => 5.4)