Class: UsbDeviceConnectionTrigger
- Inherits:
- 
      Trigger
      
        - Object
- MacroObject
- Trigger
- UsbDeviceConnectionTrigger
 
- Defined in:
- lib/ruby-macrodroid/triggers.rb
Overview
Category: Connectivity
Instance Attribute Summary
Attributes inherited from Trigger
Attributes inherited from MacroObject
Instance Method Summary collapse
- 
  
    
      #initialize(h = {})  ⇒ UsbDeviceConnectionTrigger 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UsbDeviceConnectionTrigger. 
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ UsbDeviceConnectionTrigger
| 574 575 576 577 578 579 580 581 582 | # File 'lib/ruby-macrodroid/triggers.rb', line 574 def initialize(h={}) = { option: 0 } super(.merge h) end | 
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
| 584 585 586 | # File 'lib/ruby-macrodroid/triggers.rb', line 584 def to_s(colour: false) 'UsbDeviceConnectionTrigger ' + @h.inspect end |