Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/sorcery/test_helpers/internal.rb
Overview
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.
Instance Method Summary collapse
-
#destroy ⇒ Object
rubocop:disable Style/ClassAndModuleChildren.
Instance Method Details
#destroy ⇒ Object
rubocop:disable Style/ClassAndModuleChildren
21 22 23 |
# File 'lib/sorcery/test_helpers/internal.rb', line 21 def destroy clear end |