Class: MG::Repeat

Inherits:
Action show all
Defined in:
doc/API_reference.rb

Instance Attribute Summary

Attributes inherited from Action

#done?

Constructors collapse

Methods inherited from Action

#clone, #reverse

Constructor Details

#initialize(target_action, times) ⇒ Repeat

Creates an action that repeats the provided action a certain number of times.

Parameters:

  • target_action (Action)

    the action to repeat.

  • times (Integer)

    the number of times to repeat.



309
# File 'doc/API_reference.rb', line 309

def initialize(target_action, times); end