Module: Thin::Env
- Defined in:
- lib/thin/env.rb
Class Method Summary collapse
Class Method Details
.with_defaults(env) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/thin/env.rb', line 4 def self.with_defaults(env) if ::Rack.release >= "3" rack_env_class = Rack3 else rack_env_class = Rack2 end rack_env_class.env.merge(env) end |