Class: EmptyTrigger

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

Overview

Category: MacroDroid Specific

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

Constructor Details

#initialize(h = {}) ⇒ EmptyTrigger

Returns a new instance of EmptyTrigger.



1359
1360
1361
1362
1363
1364
1365
1366
1367
# File 'lib/ruby-macrodroid/triggers.rb', line 1359

def initialize(h={})

  options = {

  }

  super(options.merge h)

end

Instance Method Details

#to_s(colour: false) ⇒ Object Also known as: to_summary



1369
1370
1371
# File 'lib/ruby-macrodroid/triggers.rb', line 1369

def to_s(colour: false)
  'EmptyTrigger'
end