Class | Rack::Session::Abstract::SessionHash
In: | lib/rack/session/abstract/id.rb
Parent: | Object

SessionHash is responsible to lazily load the session from store.

### Methods

[] []= clear delete destroy each empty? exists? fetch find has_key? id include? inspect key? keys loaded? merge! new options replace set set_options store to_hash update values

### Included Modules

Enumerable

### Attributes

id | [W] |

### Public Class methods

find(env)
new(store, env)
set(env, session)
set_options(env, options)

### Public Instance methods

[](key)
[]=(key, value)
clear()
delete(key)
destroy()
each(&block)
empty?()
exists?()
fetch(key)

Alias for #[]

has_key?(key)
id()
include?(key)

Alias for has_key?

inspect()
key?(key)

Alias for has_key?

keys()
loaded?()
merge!(hash)

Alias for update

options()
replace(hash)
store(key, value)

Alias for #[]=

to_hash()
update(hash)
values()

[Validate]