Class: Pixo::Renderer::SetLedsOn

Inherits:
Object
  • Object
show all
Defined in:
lib/pixo/renderer.rb

Instance Method Summary collapse

Constructor Details

#initialize(leds_on) ⇒ SetLedsOn

Returns a new instance of SetLedsOn.



105
106
107
# File 'lib/pixo/renderer.rb', line 105

def initialize(leds_on)
  @leds_on = leds_on    
end

Instance Method Details

#callObject



109
110
111
# File 'lib/pixo/renderer.rb', line 109

def call
  Pixo::Application.instance.leds_on = @leds_on
end