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
2024-06-28 10:59:42 +01:00
1
2023-07-07 02:38:13 +01:00
end
def patch
2
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