
user-choices.rubyforge.org
Using User-ChoicesAct always to increase the number of choices. Mdash; Heinz von Foerster. Suppose you have a command-line application that uses some number of, oh, let's say "connections". Most of the time, a user will want the same number of connections, so you'll let them set a personal default in a configuration file. Sometimes they want to change the default. Maybe they'll want a one-time change; for that, a command-line option. The User-Choices gem gives your code a unified interface to all those sources. I've set u...
http://user-choices.rubyforge.org/