lib/iremocon_control.rb in iremocon_control-0.2.0 vs lib/iremocon_control.rb in iremocon_control-0.2.1
- old
+ new
@@ -217,9 +217,12 @@
end
end
class TelnetConnectionError < StandardError; end
+ #
+ # iRemoconのTimerを管理するクラス
+ #
class IRemoconTimer
attr_reader :timer_id, :remocon_id, :time, :repeat_interval
def initialize(timer_id, remocon_id, time, repeat_interval)
@timer_id, @remocon_id, @time, @repeat_interval = timer_id, remocon_id, Time.at(time), repeat_interval;