Class: SignalOnOffTrigger

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

Overview

Category: Connectivity

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #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.



1448
1449
1450
1451
1452
1453
1454
1455
1456
# File 'lib/ruby-macrodroid.rb', line 1448

def initialize(h={})

  options = {
    signal_on: true
  }

  super(options.merge h)

end