11 lines
141 B
Ruby
11 lines
141 B
Ruby
require "sinatra"
|
|
|
|
class MySinatra < Sinatra::Base
|
|
get "/" do
|
|
"Hello World (Sinatra)"
|
|
end
|
|
end
|
|
|
|
map "/sinatra" do
|
|
run MySinatra
|
|
end
|