Skip to content

Commit

Permalink
More README info
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanl committed Nov 24, 2012
1 parent 112013e commit cf1f859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# Secret Santa Script

This is a simple Ruby script for assigning secret Santas and emailing everyone their assignment.
This is a simple Ruby script for assigning secret Santas and emailing everyone their assignment. The basic rule is that nobody can be assigned to give a gift to someone in their own group (including, of course, themselves). In my family, group == household, but it could mean anything you like.

The script uses Dennis Ranke's solution from [The Ruby Quiz #2](www.rubyquiz.com/quiz2.html), which gives everyone a correct assignment in a single pass through the list. Nice! :) The only tweaks I made were practical ones, like using config files, and a tiny bit of refactoring, logging, etc, to make it more apparent what's happening.

Expand Down

0 comments on commit cf1f859

Please sign in to comment.