Class: Authlogic::TestCase::MockCookieJar

Inherits:
Hash
  • Object
show all
Defined in:
lib/authlogic/test_case/mock_cookie_jar.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



4
5
6
7
# File 'lib/authlogic/test_case/mock_cookie_jar.rb', line 4

def [](key)
  hash = super
  hash && hash[:value]
end

#delete(key, options = {}) ⇒ Object



9
10
11
# File 'lib/authlogic/test_case/mock_cookie_jar.rb', line 9

def delete(key, options = {})
  super(key)
end