Class: ElseAction

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

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ ElseAction



2596
2597
2598
2599
2600
2601
2602
2603
2604
# File 'lib/ruby-macrodroid.rb', line 2596

def initialize(h={})

  options = {
    constraint_list: ''
  }

  super(options.merge h)

end

Instance Method Details

#to_sObject



2606
2607
2608
# File 'lib/ruby-macrodroid.rb', line 2606

def to_s()
  'Else'
end