Class: EndLoopAction

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

Overview

Conditions/Loops

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 included from ObjectX

#action_to_object, #object_create, #varify

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ EndLoopAction

Returns a new instance of EndLoopAction.



562
563
564
565
566
567
568
569
570
571
572
573
574
# File 'lib/ruby-macrodroid/actions.rb', line 562

def initialize(h={})
  
  options = {

  }
  
  h2 = options.merge(h)

  super(h2)
  
  @label = 'End Loop '

end

Instance Method Details

#to_s(colour: false, indent: 0) ⇒ Object



576
577
578
579
580
# File 'lib/ruby-macrodroid/actions.rb', line 576

def to_s(colour: false, indent: 0)
  
  'End Loop '
  
end