# File lib/rbot/timer.rb, line 80 def add(period, data=nil, &func) debug "adding timer, period #{period}" @handle += 1 @timers[@handle] = Action.new(period, data, &func) start_on_add return @handle end