class Hash

a patch to fix a bug in testing that happens when you 'destroy' a session twice. After the first destroy, the session is an ordinary hash, and then when destroy is called again there's an exception.

Public Instance Methods

destroy() click to toggle source
# File lib/sorcery/test_helpers/internal.rb, line 21
def destroy
  clear
end