by JonnieCache · 15y ago · 0 comments
Such a thing would be useful for scripting purposes.
Anyway, I'll bite:
lambda { |env| [200, {'Content-Type'=>'text/plain'}, [Rack::Request.new(env).ip]] }