/raffler

A small script to determine a random winner from a group of names

Primary LanguageRubyApache License 2.0Apache-2.0

raffler

A small Ruby script to pick a random winner from a group of names.

Usage

Run bundle install to install dependencies, then you can pass a file of names, separated by new lines, by running:

ruby raffler.rb names.txt

or by running:

ruby raffler.rb < names.txt