Skip to content

Instantly share code, notes, and snippets.

@fedesoria
Created December 10, 2010 04:55
Show Gist options
  • Save fedesoria/735808 to your computer and use it in GitHub Desktop.
Save fedesoria/735808 to your computer and use it in GitHub Desktop.
require 'open-uri'
def roulette(bet)
open('http://roulette.engineyard.com/').read.match("13") ? 35 * bet : 0
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment