Class: CGI::Session::NullStore
- Inherits:
-
Object
- Object
- CGI::Session::NullStore
- Defined in:
- lib/cgi/session.rb
Overview
Dummy session storage class.
Implements session storage place holder. No actual storage will be done.
Instance Method Summary collapse
-
#close ⇒ Object
Close session storage.
-
#delete ⇒ Object
Delete the session state.
-
#initialize(session, option = nil) ⇒ NullStore
constructor
Create a new NullStore instance.
-
#restore ⇒ Object
Restore (empty) session state.
-
#update ⇒ Object
Update session state.
Constructor Details
#initialize(session, option = nil) ⇒ NullStore
Create a new NullStore instance.
session
is the session this instance is associated with. option
is a list of initialisation options. None are currently recognised.
535 536 |
# File 'lib/cgi/session.rb', line 535 def initialize(session, option=nil) end |
Instance Method Details
#close ⇒ Object
Close session storage.
A no-op.
552 553 |
# File 'lib/cgi/session.rb', line 552 def close end |
#delete ⇒ Object
Delete the session state.
A no-op.
558 559 |
# File 'lib/cgi/session.rb', line 558 def delete end |
#restore ⇒ Object
Restore (empty) session state.
539 540 541 |
# File 'lib/cgi/session.rb', line 539 def restore {} end |
#update ⇒ Object
Update session state.
A no-op.
546 547 |
# File 'lib/cgi/session.rb', line 546 def update end |