mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2024-11-15 18:50:47 +00:00
onyx-and-iris
4fdebc8178
Now supports callback methods as well observer classes levels example now uses callback methods register,deregister now alias add/remove observer methods minor version bump
28 lines
272 B
Ruby
28 lines
272 B
Ruby
module OBSWS
|
|
module Version
|
|
module_function
|
|
|
|
def major
|
|
0
|
|
end
|
|
|
|
def minor
|
|
4
|
|
end
|
|
|
|
def patch
|
|
0
|
|
end
|
|
|
|
def to_a
|
|
[major, minor, patch]
|
|
end
|
|
|
|
def to_s
|
|
to_a.join(".")
|
|
end
|
|
end
|
|
|
|
VERSION = Version.to_s
|
|
end
|