RubyGems.org

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.

installgem install startat
Authors

Keith Watson

1,297 total downloads 1,296 for this version
Owners

Dd9fa9c77753375ef7247e3fbff03401

Gemfile
gem 'startat', '~> 0.1.0'
Versions
  1. 0.1.0 July 29, 2009 (11.5 KB)
Runtime Dependencies
  1. hoe >= 2.3.2
Development Dependencies
  1. hoe >= 2.3.2