Sha256: 050f7fe5dadab3bd8303b94e8cdd1c92a42a03f0175dec6e4a80667ff3122753
Contents?: true
Size: 513 Bytes
Versions: 1
Compression:
Stored size: 513 Bytes
Contents
#!/usr/bin/env ruby require 'drb' require 'x10' require 'x10/cm17a_device' module X10 module Cm17aRemote class Controller def initialize(uri="druby:localhost:7777") @uri = uri @remote = DRbObject.new(nil, @uri) end def command(house, unit, command, steps) @remote.command(house, unit, command, steps) end def device(house, unit) X10::Cm17a::Device.new(house, unit, self) end def self.x10_controller? true end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
x10-cm17a-1.0.1-i386-mswin32 | lib/x10/cm17a_remote.rb |