Skip to content

Instantly share code, notes, and snippets.

@danopia
Created January 12, 2010 01:20
Show Gist options
  • Save danopia/274787 to your computer and use it in GitHub Desktop.
Save danopia/274787 to your computer and use it in GitHub Desktop.
run proc({|env| [200, {'Content-Type' => 'text/plain'}, env.map{|k, v| "#{k.rjust(20)} = #{v}\n" }.join] })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment