Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Tiny Ruby gem to pick raffle winners
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
lib
log
script
spec
tasks
website
History.txt
License.txt
Manifest.txt
README
README.txt
Rakefile
sdruby-raffle.gemspec
setup.rb

README

SDruby Raffle Gem
=================

Usage:
------

require 'lib/raffle'

>> raffle.participants
=> ["Patrick", "Ryan", "Jordan", "Tom", "Chris", "Rob", "Sam", "Matt"]

>> raffle.pick_a_winner
=> "Tom"

>> raffle.participants
=> ["Patrick", "Ryan", "Jordan", "Chris", "Rob", "Sam", "Matt"]

(note that tom has been removed from the participants list)

use #teasing_mode to go though the entire list of losers before giving away the winner's name
Something went wrong with that request. Please try again.