Skip to content

Instantly share code, notes, and snippets.

@bryanl
Created August 9, 2008 18:21
Show Gist options
  • 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