method
destroy
rails latest stable - Class:
ActionDispatch::Session::AbstractStore::SessionHash
destroy()public
No documentation available.
# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 103
def destroy
clear
@by.send(:destroy, @env) if @by
@env[ENV_SESSION_OPTIONS_KEY][:id] = nil if @env && @env[ENV_SESSION_OPTIONS_KEY]
@loaded = false
end