Class: Milight::V6::Controller
- Inherits:
-
Object
- Object
- Milight::V6::Controller
- Defined in:
- lib/milight/v6/controller.rb
Instance Method Summary collapse
-
#all ⇒ Object
Select all zones.
-
#initialize(host, port = 5987) ⇒ Controller
constructor
A new instance of Controller.
-
#zone(zone_id) ⇒ Object
Select a specific zone.
Constructor Details
#initialize(host, port = 5987) ⇒ Controller
Returns a new instance of Controller.
10 11 12 |
# File 'lib/milight/v6/controller.rb', line 10 def initialize(host, port = 5987) @command = Milight::V6::Command.new(host, port) end |