Class: ElseIfConditionAction

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

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from IfConditionAction

#to_s

Methods inherited from Action

#invoke, #to_s

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ ElseIfConditionAction

Returns a new instance of ElseIfConditionAction.



322
323
324
325
326
327
328
329
330
331
# File 'lib/ruby-macrodroid/actions.rb', line 322

def initialize(h={})

  options = {
    constraint_list: ''
  }

  super(options.merge h)
  @label = 'ElseIf '

end