mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2025-01-18 21:40:48 +00:00
mixin only methods for directing the driver
patch bump
This commit is contained in:
parent
2883fd42cc
commit
d15418a660
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -11,7 +11,7 @@ module OBSWS
|
|||||||
end
|
end
|
||||||
|
|
||||||
def patch
|
def patch
|
||||||
1
|
2
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_a
|
def to_a
|
||||||
|
Loading…
Reference in New Issue
Block a user