Class: Sinatra::TestHelpers::Session
- Inherits:
-
Rack::Test::Session
- Object
- Rack::Test::Session
- Sinatra::TestHelpers::Session
- Defined in:
- lib/sinatra/test_helpers.rb
Overview
Test variant of session, which exposes a ‘global_env`.
Instance Method Summary collapse
Instance Method Details
#global_env ⇒ Object
18 19 20 |
# File 'lib/sinatra/test_helpers.rb', line 18 def global_env @global_env ||= {} end |