mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2024-11-16 03:00:47 +00:00
0bac7eaf3a
patch bump
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
|
|
2
|
|
end
|
|
|
|
def to_a
|
|
[major, minor, patch]
|
|
end
|
|
|
|
def to_s
|
|
to_a.join(".")
|
|
end
|
|
end
|
|
end
|