Class: Bozo::Packagers::Rubygems::RubyGemVersion
- Inherits:
-
Versioning::Version
- Object
- Versioning::Version
- Bozo::Packagers::Rubygems::RubyGemVersion
- Defined in:
- lib/bozo/packagers/rubygems.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.parse(version) ⇒ Object
38 39 40 |
# File 'lib/bozo/packagers/rubygems.rb', line 38 def self.parse(version) new version.major, version.minor, version.patch, version.extension end |
Instance Method Details
#to_s ⇒ Object
42 43 44 |
# File 'lib/bozo/packagers/rubygems.rb', line 42 def to_s "#{major}.#{minor}.#{patch}.#{extension}" end |