Skip to content

Instantly share code, notes, and snippets.

@bryanl
Created August 9, 2008 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanl/4693 to your computer and use it in GitHub Desktop.
Save bryanl/4693 to your computer and use it in GitHub Desktop.
module Smarticus
class Prs
PLAYS = %w[p r s]
def play(previous=[])
PLAYS[rand(3).to_i]
end
def name
"Bryan"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment