Skip to content

Instantly share code, notes, and snippets.

@adriand adriand/pay.rb
Created Dec 10, 2010

Embed
What would you like to do?
require 'open-uri'
def pay(bet)
URI.parse('http://roulette.engineyard.com').read =~ /13/ ? bet * 35 : 0
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.