Module: GC::OOB::UnicornMiddleware
- Defined in:
- lib/gctools/oobgc/unicorn_middleware.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.new(app) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/gctools/oobgc/unicorn_middleware.rb', line 6 def self.new(app) ObjectSpace.each_object(Unicorn::HttpServer) do |s| s.extend(self) end app # pretend to be Rack middleware since it was in the past end |