Class: SignalOnOffTrigger

Inherits:
Trigger show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Connectivity

Instance Attribute Summary

Attributes inherited from Trigger

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ SignalOnOffTrigger

Returns a new instance of SignalOnOffTrigger.



1580
1581
1582
1583
1584
1585
1586
1587
1588
# File 'lib/ruby-macrodroid.rb', line 1580

def initialize(h={})

  options = {
    signal_on: true
  }

  super(options.merge h)

end