mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-15 23:00:48 +00:00
26 lines
252 B
Ruby
26 lines
252 B
Ruby
module Voicemeeter
|
|
module VERSION
|
|
module_function
|
|
|
|
def major
|
|
1
|
|
end
|
|
|
|
def minor
|
|
0
|
|
end
|
|
|
|
def patch
|
|
0
|
|
end
|
|
|
|
def to_a
|
|
[major, minor, patch]
|
|
end
|
|
|
|
def to_s
|
|
to_a.join(".")
|
|
end
|
|
end
|
|
end
|