Class: Config::Rack::Reloader
- Inherits:
-
Object
- Object
- Config::Rack::Reloader
- Defined in:
- lib/config/rack/reloader.rb
Overview
Rack middleware the reloads Config on every request (only use in dev mode)
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ Reloader
constructor
A new instance of Reloader.
Constructor Details
#initialize(app) ⇒ Reloader
Returns a new instance of Reloader.
5 6 7 |
# File 'lib/config/rack/reloader.rb', line 5 def initialize(app) @app = app end |