Method: Runt::Schedule#update
- Defined in:
- lib/runt/schedule.rb
#update(event, &block) ⇒ Object
Call the supplied block/Proc with the currently configured TemporalExpression associated with the supplied Event.
65 66 67 |
# File 'lib/runt/schedule.rb', line 65 def update(event,&block) block.call(@elems[event]) end |