Class: CGI::Session

Inherits:
Object show all
Defined in:
lib/action_controller/session/drb_store.rb,
lib/action_controller/session/active_record_store.rb

Defined Under Namespace

Classes: ActiveRecordStore, DRbStore

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



8
9
10
# File 'lib/action_controller/session/active_record_store.rb', line 8

def data
  @data
end

Instance Method Details

#modelObject

Return this session’s underlying Session instance. Useful for the DB-backed session stores.



11
12
13
# File 'lib/action_controller/session/active_record_store.rb', line 11

def model
  @dbman.model if @dbman
end