Sha256: 3965999974fd4b0e544836ef227d8cd1ac7d0ffdcfb15581487fa7f4419237c2

Contents?: true

Size: 378 Bytes

Versions: 5

Compression:

Stored size: 378 Bytes

Contents

require 'sinatra'

# If you want to have auto reload in development mode (what is sweet)
# you can uncomment this following lines:
#
configure :development do
  Sinatra::Application.reset!  # to reload routes and its contents
  use Rack::Reloader           # to reload required every files
end

get '/?' do
  "hello"
end

get '/:message/?' do |message|
  "hello #{message}"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jetty-rackup-7.2.0 examples/just_ruby/app.rb
jetty-rackup-7.1.0 examples/just_ruby/app.rb
jetty-rackup-7.0.0 examples/just_ruby/app.rb
jetty-rackup-0.2.0 examples/just_ruby/app.rb
jetty-rackup-0.1.0 examples/just_ruby/app.rb