voicemeeter-rb/lib/voicemeeter/version.rb

26 lines
252 B
Ruby
Raw Permalink Normal View History

2023-07-07 02:38:13 +01:00
module Voicemeeter
module VERSION
2023-07-07 02:38:13 +01:00
module_function
def major
1
2023-07-07 02:38:13 +01:00
end
def minor
0
end
def patch
0
2023-07-07 02:38:13 +01:00
end
def to_a
[major, minor, patch]
end
def to_s
to_a.join(".")
end
end
end