mirror of
				https://github.com/onyx-and-iris/obsws-ruby.git
				synced 2025-11-03 17:51: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)
 | 
					      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
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user