Skip to content

Instantly share code, notes, and snippets.

@jballanc
Created May 11, 2010 14:35
Show Gist options
  • Save jballanc/397380 to your computer and use it in GitHub Desktop.
Save jballanc/397380 to your computer and use it in GitHub Desktop.
class Hello
def call(env)
[200, { 'Content-Type' => 'text/plain' }, "Hello, world! Your environment is #{env}"]
end
end
run Hello.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment