voicemeeter-rb/lib/voicemeeter/version.rb

26 lines
252 B
Ruby

module Voicemeeter
module VERSION
module_function
def major
1
end
def minor
1
end
def patch
2
end
def to_a
[major, minor, patch]
end
def to_s
to_a.join(".")
end
end
end