obsws-ruby/lib/obsws/version.rb

28 lines
272 B
Ruby
Raw Normal View History

2022-10-22 22:30:40 +01:00
module OBSWS
module Version
module_function
def major
0
end
def minor
2023-07-19 15:14:46 +01:00
2
2022-10-22 22:30:40 +01:00
end
def patch
2023-07-19 15:14:46 +01:00
0
2022-10-22 22:30:40 +01:00
end
def to_a
[major, minor, patch]
end
def to_s
to_a.join(".")
end
end
2023-07-19 15:14:46 +01:00
VERSION = Version.to_s
2022-10-22 22:30:40 +01:00
end