"DTD/xhtml1-strict.dtd">
Class Timer::Action
In: rbot/timer.rb
Parent: Object
Class: Action Class: Timer Module: Timer

timer event, something to do and when/how often to do it

Methods
new    run   
Attributes
:blocked  [RW] 

is this action blocked? if so it won't be run

:in  [RW] 

when this action is due next (updated by tick())

Public Class methods
new(period, data=nil, once=false, &func)
period:how often (seconds) to run the action
data:optional data to pass to the proc
once:optional, if true, this action will be run once then removed
func:associate a block to be called to perform the action

create a new action

Public Instance methods
run()

run the action by calling its proc