mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2025-07-03 01:10:24 +01:00
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
|