Class: MG::Blink

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(blinks, interval) ⇒ Blink

Creates an action that Blinks the receiver by modifying it’s visible attribute.

Parameters:

  • blinks (Integer)

    the number of times to blink.

  • interval (Float)

    the animation interval.



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

def initialize(blinks, interval); end