mixin only methods for directing the driver

patch bump
This commit is contained in:
onyx-and-iris 2023-07-26 16:55:59 +01:00
parent 2883fd42cc
commit d15418a660
3 changed files with 31 additions and 29 deletions

View File

@ -10,7 +10,7 @@ require_relative "mixin"
module OBSWS module OBSWS
class Base class Base
include Logging include Logging
include Driver include Driver::Director
include Mixin::OPCodes include Mixin::OPCodes
attr_reader :closed attr_reader :closed

View File

@ -16,6 +16,7 @@ module OBSWS
end end
end end
module Director
def setup_driver(host, port) def setup_driver(host, port)
@socket = TCPSocket.new(host, port) @socket = TCPSocket.new(host, port)
@driver = @driver =
@ -49,3 +50,4 @@ module OBSWS
end end
end end
end end
end

View File

@ -11,7 +11,7 @@ module OBSWS
end end
def patch def patch
1 2
end end
def to_a def to_a