mirror of
				https://github.com/onyx-and-iris/obsws-ruby.git
				synced 2025-11-04 10:11:46 +00:00 
			
		
		
		
	close now aliases stop_driver
This commit is contained in:
		
							parent
							
								
									9940fbbf9f
								
							
						
					
					
						commit
						8534c59fa2
					
				@ -18,7 +18,7 @@ module OBSWS
 | 
			
		||||
      def initialize(resp, fields)
 | 
			
		||||
        @resp = resp
 | 
			
		||||
        @fields = fields
 | 
			
		||||
        self.make_field_methods *fields
 | 
			
		||||
        make_field_methods(*fields)
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      def empty? = @fields.empty?
 | 
			
		||||
@ -33,9 +33,11 @@ module OBSWS
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    module TearDown
 | 
			
		||||
      def close
 | 
			
		||||
        @base_client.driver.close
 | 
			
		||||
      def stop_driver
 | 
			
		||||
        @base_client.stop_driver
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      alias_method :close, :stop_driver
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    module OPCodes
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user