Sha256: 582e086339126d62b4c0729d5cb5611b898e8c14a143b2ce420568ba232f7b52
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib/') require 'rack/server_status' use Rack::ServerStatus, scoreboard_path: './tmp' class HelloWorldApp def call(env) sleep 10 [ 200, { 'Content-Type' => 'text/plain' }, ['Hello World!'] ] end end map "/foo" do run HelloWorldApp.new end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-server_status-0.0.2 | examples/config.ru |