Class: Rack::Session::File::YAML
- Defined in:
- lib/rack/session/file/yaml.rb
Defined Under Namespace
Classes: Transaction
Constant Summary
Constants inherited from Abstract
Instance Method Summary collapse
-
#initialize(app, options = {}) ⇒ YAML
constructor
A new instance of YAML.
- #new_transaction(env) ⇒ Object
Methods inherited from Abstract
#destroy_session, #get_session, #set_session
Constructor Details
#initialize(app, options = {}) ⇒ YAML
Returns a new instance of YAML.
12 13 14 15 |
# File 'lib/rack/session/file/yaml.rb', line 12 def initialize(app, = {}) super ['yaml'] = .delete(:yaml) || {} end |
Instance Method Details
#new_transaction(env) ⇒ Object
17 18 19 |
# File 'lib/rack/session/file/yaml.rb', line 17 def new_transaction(env) Rack::Session::File::YAML::Transaction.new(env, ) end |