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.



1287
1288
1289
1290
1291
1292
1293
1294
1295
# File 'lib/ruby-macrodroid/triggers.rb', line 1287

def initialize(h={})

  options = {

  }

  super(options.merge h)

end

Instance Method Details

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



1297
1298
1299
# File 'lib/ruby-macrodroid/triggers.rb', line 1297

def to_s(colour: false)
  'EmptyTrigger'
end