Class: I18n::Middleware
- Inherits:
-
Object
- Object
- I18n::Middleware
- Defined in:
- lib/i18n/middleware.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(app) ⇒ Middleware
Returns a new instance of Middleware.
6 7 8 |
# File 'lib/i18n/middleware.rb', line 6 def initialize(app) @app = app end |