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.



381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/ruby-macrodroid/actions.rb', line 381

def initialize(h={})
  
  options = {

  }
  
  h2 = options.merge(h)

  super(h2)
  
  @label = 'End Loop '

end

Instance Method Details

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



395
396
397
398
399
# File 'lib/ruby-macrodroid/actions.rb', line 395

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