Class: Webmachine::RackRequest
- Defined in:
- lib/webmachine/rack_adapter_monkey_patch.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
-
#initialize(method, uri, headers, body, routing_tokens, base_uri, env) ⇒ RackRequest
constructor
A new instance of RackRequest.
Methods inherited from Request
Constructor Details
#initialize(method, uri, headers, body, routing_tokens, base_uri, env) ⇒ RackRequest
Returns a new instance of RackRequest.
10 11 12 13 |
# File 'lib/webmachine/rack_adapter_monkey_patch.rb', line 10 def initialize(method, uri, headers, body, routing_tokens, base_uri, env) super(method, uri, headers, body, routing_tokens, base_uri) @env = env end |
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
8 9 10 |
# File 'lib/webmachine/rack_adapter_monkey_patch.rb', line 8 def env @env end |