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

Instance Method Summary collapse

Instance Attribute Details

#envObject (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