Class: Yaframework::Request
- Inherits:
-
Rack::Request
- Object
- Rack::Request
- Yaframework::Request
- Defined in:
- lib/yaframework/request.rb
Instance Method Summary collapse
-
#initialize(env) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(env) ⇒ Request
Returns a new instance of Request.
7 8 9 10 |
# File 'lib/yaframework/request.rb', line 7 def initialize(env) env["PATH_INFO"] = "/" if env["PATH_INFO"].empty? super end |