diff options
| author | mo khan <mo@mokhan.ca> | 2013-08-28 07:20:13 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-08-28 07:20:13 -0600 |
| commit | db1191ec0e7305d684383f8974e2fa437f77ad5a (patch) | |
| tree | 5e27b197dff849d22d8e1f50eb75aa499b16bd06 /code/spyglass/test/config.ru | |
Diffstat (limited to 'code/spyglass/test/config.ru')
| -rw-r--r-- | code/spyglass/test/config.ru | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/code/spyglass/test/config.ru b/code/spyglass/test/config.ru new file mode 100644 index 0000000..fbec204 --- /dev/null +++ b/code/spyglass/test/config.ru @@ -0,0 +1,10 @@ +require 'rack/lint' + +class HelloWorld + def call(env) + [200, {"Content-Type" => 'text/plain'}, ["Hello world!"]] + end +end + +use Rack::Lint +run HelloWorld.new |
