Class: MultiPart::Version
- Inherits:
-
Object
- Object
- MultiPart::Version
- Defined in:
- lib/multi_part/version.rb
Class Method Summary collapse
Class Method Details
.major ⇒ Object
4 5 6 |
# File 'lib/multi_part/version.rb', line 4 def self.major 0 end |
.minor ⇒ Object
8 9 10 |
# File 'lib/multi_part/version.rb', line 8 def self.minor 0 end |
.patch ⇒ Object
12 13 14 |
# File 'lib/multi_part/version.rb', line 12 def self.patch 0 end |
.pre ⇒ Object
16 17 18 |
# File 'lib/multi_part/version.rb', line 16 def self.pre 4 #nil end |
.to_s ⇒ Object
20 21 22 |
# File 'lib/multi_part/version.rb', line 20 def self.to_s [major, minor, patch, pre].compact.join('.') end |