Sha256: a77c79d9ee98353e62abb4cb5d69e3f97ef11913abb134b4a9cf150cb181782a
Contents?: true
Size: 412 Bytes
Versions: 1
Compression:
Stored size: 412 Bytes
Contents
require 'milight/commander' require 'milight/rgbw_group' require 'milight/rgbw_all' module Milight class Controller attr_reader :commander def initialize(ip_address, port = 8899) @commander = Milight::Commander.new ip_address, port end def all Milight::RgbwAll.new(@commander) end def group(channel) Milight::RgbwGroup.new(@commander, channel) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
milight-easybulb-1.0.0 | lib/milight/controller.rb |