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.



1334
1335
1336
1337
1338
1339
1340
1341
1342
# File 'lib/ruby-macrodroid/triggers.rb', line 1334

def initialize(h={})

  options = {

  }

  super(options.merge h)

end

Instance Method Details

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



1344
1345
1346
# File 'lib/ruby-macrodroid/triggers.rb', line 1344

def to_s(colour: false)
  'EmptyTrigger'
end