Class: Rack::Session::Abstract::PersistedSecure::SecureSessionHash
- Inherits:
-
SessionHash
- Object
- SessionHash
- Rack::Session::Abstract::PersistedSecure::SecureSessionHash
- Defined in:
- lib/rack/session/abstract/id.rb
Constant Summary
Constants inherited from SessionHash
Instance Attribute Summary
Attributes inherited from SessionHash
Instance Method Summary collapse
Methods inherited from SessionHash
#[]=, #clear, #delete, #destroy, #dig, #each, #empty?, #exists?, #fetch, find, #has_key?, #initialize, #inspect, #keys, #loaded?, #options, #replace, set, set_options, #to_hash, #update, #values
Constructor Details
This class inherits a constructor from Rack::Session::Abstract::SessionHash
Instance Method Details
#[](key) ⇒ Object
462 463 464 465 466 467 468 469 470 471 472 473 474 |
# File 'lib/rack/session/abstract/id.rb', line 462 def [](key) if key == "session_id" load_for_read! case id when SessionId id.public_id else id end else super end end |