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.



366
367
368
369
370
371
372
373
374
375
376
377
378
# File 'lib/ruby-macrodroid/actions.rb', line 366

def initialize(h={})
  
  options = {

  }
  
  h2 = options.merge(h)

  super(h2)
  
  @label = 'End Loop '

end

Instance Method Details

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



380
381
382
383
384
# File 'lib/ruby-macrodroid/actions.rb', line 380

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