Skip to content

Instantly share code, notes, and snippets.

@samsm
Forked from rentpath/gist:258822
Created December 17, 2009 15:47
Show Gist options
  • Save samsm/258823 to your computer and use it in GitHub Desktop.
Save samsm/258823 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