mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2024-11-15 18:50:47 +00:00
26 lines
246 B
Ruby
26 lines
246 B
Ruby
module OBSWS
|
|
module Version
|
|
module_function
|
|
|
|
def major
|
|
0
|
|
end
|
|
|
|
def minor
|
|
1
|
|
end
|
|
|
|
def patch
|
|
3
|
|
end
|
|
|
|
def to_a
|
|
[major, minor, patch]
|
|
end
|
|
|
|
def to_s
|
|
to_a.join(".")
|
|
end
|
|
end
|
|
end
|