Created
December 17, 2014 13:51
-
-
Save 2get/a7613660d677b0212acf to your computer and use it in GitHub Desktop.
Hello Rack
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
require 'rack' | |
class HelloRack | |
def call(env) | |
[200, { 'Content-Type' => 'text/html' }, ['Hello Rack!']] | |
end | |
end | |
run HelloRack.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment