Created
May 13, 2016 13:12
-
-
Save AlexWheeler/2a1a313e60372fe23057ee665ee00a0e to your computer and use it in GitHub Desktop.
This file contains 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' | |
#run proc { |env| ['200', { 'Content-Type' => 'text/html' }, ['code is a liability']] } | |
class MyRackApp | |
def call(env) | |
['200', { 'Content-Type' => 'text/html' }, ['code is a liability']] | |
end | |
end | |
run MyRackApp.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment