Ruby Quiz #2 Solution

A solution to the second Ruby quiz.

This command line utility selects secret santas for a list of people.

The original quiz requested that the santas be emailed, but I just made a list.

gem install 'ruby_quiz_2'

feasible.txt

Luke Skywalker <[email protected]>
Leia Skywalker <[email protected]>
Toula Portokalos <[email protected]>
Gus Portokalos <[email protected]>
Bruce Wayne <[email protected]>
Virgil Brigman <[email protected]>
Lindsey Brigman <[email protected]>
barelyknown$ ruby_quiz_2 secret_santas feasible.txt

SECRET SANTA SELECTIONS

Santa                     Giftee
------------------------- -------------------------
Luke Skywalker            Lindsey Brigman
Leia Skywalker            Gus Portokalos
Toula Portokalos          Bruce Wayne
Gus Portokalos            Leia Skywalker
Bruce Wayne               Virgil Brigman
Virgil Brigman            Toula Portokalos
Lindsey Brigman           Luke Skywalker