Module Versionomy::Format::Rubygems::ExtraMethods
In: lib/versionomy/format_definitions/rubygems.rb

Extra methods added to version values that use the rubygems schema.

Methods

parts   prerelease?   release  

Public Instance methods

Returns a list of the field values, in field order, with trailing zeroes stripped off.

This behaves the same as the Gem::Version#parts method in rubygems.

Returns true if the version is a prerelease version— that is, if any of the fields is non-numeric.

This behaves the same as the Gem::Version#prerelease? method in rubygems.

Returns the release for this version. For example, converts "1.2.0.a.1" to "1.2.0". Non-prerelease versions return themselves.

This behaves the same as the Gem::Version#release method in rubygems.

[Validate]