RubyGems Navigation menu

startat 0.1.0

StartAt is a simple class for future code execution. It is designed to execute a block of code at a specific point in time in the future. StartAt works by spawning a new thread, determining how long it must wait (in seconds) until the future date and time is reached, calling sleep with the exact number of seconds to wait, and then executing the code block. StartAt was derived from a script written to post schedule information to Twitter for a symposium. The schedule robot posted event details exactly five minutes in advance of the event.

Gemfile
          gem 'startat', '~> 0.1.0'
  
  
  
  
  
  
  

install
          gem install startat
  
  
  
  
  
  
  

Total downloads 1,346

For this version 1,345

Required Ruby Version: None

Links:

Versions:

  1. 0.1.0 - July 29, 2009 (11.5 KB)

Runtime Dependencies:

Development Dependencies: