Last active
August 29, 2015 14:02
-
-
Save guilleiguaran/385c59a9d60d12aea12d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'gctools/oobgc' | |
class GcObb | |
def initialize(app) | |
@app = app | |
end | |
def call(env) | |
response = @app.call(env) | |
env['rack.after_reply'] << proc { GC::OOB.run } | |
response | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment