Skip to content

Instantly share code, notes, and snippets.

@chrismatthieu
Created August 15, 2011 15:02
Show Gist options
  • Select an option

  • Save chrismatthieu/1146941 to your computer and use it in GitHub Desktop.

Select an option

Save chrismatthieu/1146941 to your computer and use it in GitHub Desktop.
TropoGiveaway.rb
class TropoGiveaway
CONTESTANTS = [
'tundal45',
'flipsasser',
'mheadd',
'KeVRoN',
'ZachAAbbott',
'Innovelop',
'amish_ninja',
'j_mccaffrey ',
'JohnnyDiggz',
'staticnull',
'kev_addict',
'OutsideTheBrain',
'rxgx',
'bbwharris',
'RickRodriguezFL',
'atomicfork',
'OutsideTheBrain',
'adhlssu07',
'gesa',
'kaldarius',
'dogenpunk',
'The_Dean',
'atomicfork',
]
def self.winner
CONTESTANTS[rand(CONTESTANTS.size)]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment