Class: SensorsTrigger

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

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 = {}) ⇒ SensorsTrigger

Returns a new instance of SensorsTrigger.



1307
1308
1309
1310
# File 'lib/ruby-macrodroid/triggers.rb', line 1307

def initialize(h={})
  super(h)
  @group = 'sensors'
end