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.
9 10 11 |
# File 'lib/rack/timeout/core.rb', line 9 def env @env end |
Instance Method Details
#initialize(env) ⇒ Object
10 11 12 |
# File 'lib/rack/timeout/core.rb', line 10 def initialize(env) @env = env end |