Class: Gemstash::GemSource::RackMiddleware
- Inherits:
-
Object
- Object
- Gemstash::GemSource::RackMiddleware
- Defined in:
- lib/gemstash/gem_source/rack_middleware.rb
Overview
Rack middleware to detect the gem source from the URL.
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ RackMiddleware
constructor
A new instance of RackMiddleware.
Constructor Details
#initialize(app) ⇒ RackMiddleware
Returns a new instance of RackMiddleware.
7 8 9 |
# File 'lib/gemstash/gem_source/rack_middleware.rb', line 7 def initialize(app) @app = app end |