Class: MultiPart::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/multi_part/version.rb

Class Method Summary collapse

Class Method Details

.majorObject



4
5
6
# File 'lib/multi_part/version.rb', line 4

def self.major
  0
end

.minorObject



8
9
10
# File 'lib/multi_part/version.rb', line 8

def self.minor
  0
end

.patchObject



12
13
14
# File 'lib/multi_part/version.rb', line 12

def self.patch
  0
end

.preObject



16
17
18
# File 'lib/multi_part/version.rb', line 16

def self.pre
  4 #nil
end

.to_sObject



20
21
22
# File 'lib/multi_part/version.rb', line 20

def self.to_s
  [major, minor, patch, pre].compact.join('.')
end