File: thin.ru

package info (click to toggle)
ruby-eye 0.7-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 672 kB
  • sloc: ruby: 5,003; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 146 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
require 'bundler/setup'
require 'sinatra'

class Test < Sinatra::Base

  get '/hello' do
    sleep 0.5
    "Hello World!"
  end
end

run Test.new