Class: BlinkyBilld::Controller
- Inherits:
-
Object
- Object
- BlinkyBilld::Controller
- Defined in:
- lib/blinky_billd/controller.rb
Class Method Summary collapse
Class Method Details
.run(args) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/blinky_billd/controller.rb', line 6 def self.run args uri = args.shift blinky = Blinky.new billd_status = Billd::Status.new(uri) blinky.light.send(billd_status.overall) end |