Skip to content

Instantly share code, notes, and snippets.

@xxx
Created April 25, 2012 21:41
Embed
What would you like to do?
class HeaderDelete
def initialize(app, options = {})
@app, @options = app, options
end
def call(env)
r = @app.call(env)
#[status, headers, response] = r
r[1].delete "X-Runtime"
r
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment