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, #siguid, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ ElseAction

Returns a new instance of ElseAction.



2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'lib/ruby-macrodroid.rb', line 2685

def initialize(h={})

  options = {
    constraint_list: ''
  }

  super(options.merge h)

end

Instance Method Details

#to_sObject



2695
2696
2697
# File 'lib/ruby-macrodroid.rb', line 2695

def to_s()
  'Else'
end