RUNT – Ruby Temporal Expressions
-
Runt is a Ruby implementation of select Martin Fowler patterns.
-
TemporalExpressions allow a developer to define patterns of date recurrence using set expressions.
INSTALL
-
Unpack the Runt distribution.
$ tar -xzvf runt-<version>.tar.gz
-
cd $UNPACK_DIR/runt/
-
execute:
$ ruby setup.rb config $ ruby setup.rb setup $ ruby setup.rb install (may require root privilege)
or
$ ruby setup.rb --help
for more options.
QUICK START
-
require ‘runt’
-
See $UNPACK_DIR/runt/test/*.rb for example usage.
-
See this mini-TemporalExpression tutorial
-
See www.chronicj.org/apidocs/index.html for better commented source (JavaDoc)
Get in touch if you have questions or if Runt causes your computer to burst into flames…
Credits
Rubyforge for hosting this project.
M.Fowler, Matz, T.Funaba (Date/DateTime), J.Weirich (Rake), PragmaticProgrammers, and everyone on ruby-talk for their shameless public display of smartness.
Hal Fulton, Mauricio Fernandez, and Mark Hubbart for the thread on c.l.r. that inspired a more Ruby-esque syntax for creating TE’s. 2X Thanks to Hal, for taking the time to exchange ideas off-line.
The ruby-nyc user’s group for their suggestions and feedback.
BlueRobot for the CSS used to prettify the Runt website.
The number 12, and the letters E and J.
Etc…
- Author
-
Matthew Lipper <[email protected]>
- Requires
-
Ruby 1.8.0 or later, Date/DateTime classes
- License
-
Copyright 2004 by Digital Clash LLC. Released under the Apache Software license (see LICENSE.txt) included in the distribution.
Warranty
This software is provided “as is” and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.