Harbor::Contrib::Session::LegacyDataMapper::SessionHash
Public Class Methods
Public Instance Methods
[](key)
# File lib/harbor/contrib/session/legacy_data_mapper.rb, line 27 27: def [](key) 28: key == :session_id ? @instance.id : super 29: end
[]=(key, value)
# File lib/harbor/contrib/session/legacy_data_mapper.rb, line 31 31: def []=(key, value) 32: raise ArgumentError.new("You cannot manually set the session_id for a session.") if key == :session_id 33: 34: super 35: end