mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2024-11-16 03:00:47 +00:00
onyx-and-iris
daa8c6ada1
allows registering blocks to be called back later examples, readme updated minor bump
26 lines
246 B
Ruby
26 lines
246 B
Ruby
module OBSWS
|
|
module VERSION
|
|
module_function
|
|
|
|
def major
|
|
0
|
|
end
|
|
|
|
def minor
|
|
6
|
|
end
|
|
|
|
def patch
|
|
0
|
|
end
|
|
|
|
def to_a
|
|
[major, minor, patch]
|
|
end
|
|
|
|
def to_s
|
|
to_a.join(".")
|
|
end
|
|
end
|
|
end
|