marshal_load(array) Instance Public methods Load custom marshal format. It's a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
marshal_dump() Instance Public methods Dump only the raw version string, not the complete object. It's a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
eql?(other) Instance Public methods A Version is only eql? to another version if it's specified to the same precision. Version â1.0â is not the same as version â1â.
encode_with(coder) Instance Public methods
bump() Instance Public methods Return a new version object where the next to the last revision number is one greater (e.g., 5.3.1 => 5.4). Pre-release (alpha) parts, e.g, 5.3.1.b.2 => 5.4, are ignored.
approximate_recommendation() Instance Public methods A recommended version for use with a ~> Requirement.
<=>(other) Instance Public methods Compares this version with other returning -1, 0, or 1 if the other version is larger, the same, or smaller than this one. Attempts to compare to something that's not a Gem::Version return nil.
new(version) Class Public methods Constructs a Version from the version string. A version string is a series of digits or ASCII letters separated by dots.
create(input) Class Public methods REFACTOR: There's no real reason this should be separate from initialize.
correct?(version) Class Public methods True if the version string matches RubyGems' requirements.
Page 1972 of 2275