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