Module: Voicemeeter::VERSION

Defined in:
lib/voicemeeter/version.rb

Class Method Summary collapse

Class Method Details

.majorObject



5
6
7
# File 'lib/voicemeeter/version.rb', line 5

def major
  1
end

.minorObject



9
10
11
# File 'lib/voicemeeter/version.rb', line 9

def minor
  1
end

.patchObject



13
14
15
# File 'lib/voicemeeter/version.rb', line 13

def patch
  2
end

.to_aObject



17
18
19
# File 'lib/voicemeeter/version.rb', line 17

def to_a
  [major, minor, patch]
end

.to_sObject



21
22
23
# File 'lib/voicemeeter/version.rb', line 21

def to_s
  to_a.join(".")
end