Class: Ledstrip::Effects::Random

Inherits:
Base
  • Object
show all
Defined in:
lib/ledstrip/effects/random.rb

Instance Attribute Summary

Attributes inherited from Base

#running

Instance Method Summary collapse

Methods inherited from Base

#initialize, #run, #sleep_time, #start, #stop, #tick

Constructor Details

This class inherits a constructor from Ledstrip::Effects::Base

Instance Method Details

#step(leds) ⇒ Object



5
6
7
# File 'lib/ledstrip/effects/random.rb', line 5

def step(leds)
  next_state(leds)
end