Class: IfConditionAction

Inherits:
IfAction 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 IfAction

#to_s

Methods inherited from Action

#invoke

Methods included from ObjectX

#action_to_object, #object_create, #varify

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(obj = nil) ⇒ IfConditionAction

Returns a new instance of IfConditionAction.



678
679
680
681
682
683
# File 'lib/ruby-macrodroid/actions.rb', line 678

def initialize(obj=nil)

  @label = 'If '
  super(obj)
  
end