Skip to content

Instantly share code, notes, and snippets.

@rentpath
Created December 17, 2009 15:47
Show Gist options
  • Save rentpath/258822 to your computer and use it in GitHub Desktop.
Save rentpath/258822 to your computer and use it in GitHub Desktop.
app.get '/guess/:who/?' do
pass unless params[:who] == 'Frank'
"You got me!"
end
app.get '/guess/*/?' do
"You missed!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment