mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2026-04-17 08:33:31 +00:00
gemspec, version file added
This commit is contained in:
25
lib/voicemeeter/version.rb
Normal file
25
lib/voicemeeter/version.rb
Normal file
@@ -0,0 +1,25 @@
|
||||
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
|
||||
Reference in New Issue
Block a user