Module: Rack::Timeout::ExceptionWithEnv
- Included in:
- Error, RequestTimeoutException
- Defined in:
- lib/rack/timeout/core.rb
Overview
shared by the following exceptions, allows them to receive the current env
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
12 13 14 |
# File 'lib/rack/timeout/core.rb', line 12 def env @env end |
Instance Method Details
#initialize(env) ⇒ Object
13 14 15 |
# File 'lib/rack/timeout/core.rb', line 13 def initialize(env) @env = env end |