Class: CheekyDreams::Effects::Crazy
- Defined in:
- lib/cheeky-dreams.rb
Constant Summary
Constants included from CheekyDreams
Instance Method Summary collapse
-
#initialize(freq, new_effect_freq) ⇒ Crazy
constructor
A new instance of Crazy.
- #next(current_colour) ⇒ Object
Methods included from CheekyDreams
#ansi_driver, #audit_to, #crazy, #cycle, #dev_null, #fade, #fade_to, #find_dream_cheeky_usb_device, #forward, #func, #light_show, #max, #off, #position_between, #rgb, #rgb_between, #sleep_until, #solid, #stdio_audit, #stdout_driver, #suppress_duplicates, #throb, #throbbing
Constructor Details
#initialize(freq, new_effect_freq) ⇒ Crazy
Returns a new instance of Crazy.
299 300 301 302 |
# File 'lib/cheeky-dreams.rb', line 299 def initialize freq, new_effect_freq @freq, @new_effect_freq = freq, new_effect_freq @count, @fade = 0, nil end |