Overview
Abstract
Programmers, in the course of their lives, often create supporting
software that is too small to be considered a project of its own. When I
create these in Ruby, I call them shards, and I place them in this
package. Shards are usually single files containing generically usefull
objects which are much too small to package and distribute
independantly. They are usually assistant classes that help developers,
more than something that would be of use to general users.
Introduction
You can download the entire archive and look through the classes, if
you like. Otherwise, I recommend that you browse the repository and
download the individual shard directly Most shards are a single file,
excepting test classes, files, and documentation.
Features
- Config: A configuration mechanism, by which you can automate
reading config files and performing actions. This is done by
implementing a Config module and calling load_config() in your
application. Lines in the configuration file are evaluated by the config
module, performing whatever actions you specify, such as setting
variables. Has rudimentary security features, such as filtered config
options. Configuration files can have comments, and are very easy to
write and read. The Config package includes a test class which also
functions as an example of usage. The Config module is very small.
- Install: A Ruby application installer. Has features such as
uninstall, noop (test install), installation redirection (installing
into a temp directory, such as for use by Portage), and forced
installation in a given directory.
Status