Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 252 Bytes
module Rack
class Evil
# Lets you return a response to the client immediately from anywhere ( M V or C ) in the code.
def initialize(app)
@app = app
end
def call(env)
catch(:response) { @app.call(env) }
end
end
end
Something went wrong with that request. Please try again.