Skip to content

Instantly share code, notes, and snippets.

@emmapersky
Created November 22, 2010 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emmapersky/710399 to your computer and use it in GitHub Desktop.
Save emmapersky/710399 to your computer and use it in GitHub Desktop.
GDI Ruby. Week 3. Parameters
require 'rubygems'
require 'sinatra'
get '/say_hello/:name' do
"Hello #{params[:name]}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment