close now aliases stop_driver

This commit is contained in:
onyx-and-iris 2023-07-26 10:52:07 +01:00
parent 9940fbbf9f
commit 8534c59fa2

View File

@ -18,7 +18,7 @@ module OBSWS
def initialize(resp, fields) def initialize(resp, fields)
@resp = resp @resp = resp
@fields = fields @fields = fields
self.make_field_methods *fields make_field_methods(*fields)
end end
def empty? = @fields.empty? def empty? = @fields.empty?
@ -33,9 +33,11 @@ module OBSWS
end end
module TearDown module TearDown
def close def stop_driver
@base_client.driver.close @base_client.stop_driver
end end
alias_method :close, :stop_driver
end end
module OPCodes module OPCodes