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 inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ EndLoopAction

Returns a new instance of EndLoopAction.



334
335
336
337
338
339
340
341
342
343
344
345
346
# File 'lib/ruby-macrodroid/actions.rb', line 334

def initialize(h={})
  
  options = {

  }
  
  h2 = options.merge(h)

  super(h2)
  
  @label = 'End Loop '

end

Instance Method Details

#to_s(colour: false) ⇒ Object



348
349
350
351
352
# File 'lib/ruby-macrodroid/actions.rb', line 348

def to_s(colour: false)
  
  'End Loop '
  
end