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

Returns a new instance of ElseAction.



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

def initialize(h={})

  options = {
    constraint_list: ''
  }

  super(options.merge h)

end

Instance Method Details

#to_sObject



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

def to_s()
  'Else'
end