Created
June 23, 2011 19:42
-
-
Save jlong/1043444 to your computer and use it in GitHub Desktop.
Simple Rack App
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class HelloWorld | |
| def call(env) | |
| [200, {"Content-Type" => "text/plain"}, ["Hello world!"]] | |
| end | |
| end | |
| run HelloWorld.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment