Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
require 'rubygems'
require 'sinatra/base'
# Define a class whose instances can be mounted as Sinatra applications.
#
# See http://www.sinatrarb.com/intro.html for a introduction to Sinatra which
# should help you understand this example clear if you aren't familiar with
# Sinatra.
class Server < Sinatra::Base
get '/hello/:person' do |person|
"Hello, #{person}"
end
end