Class: Mechanize::CookieJar
- Inherits:
-
Object
- Object
- Mechanize::CookieJar
- Defined in:
- lib/monkey-patches/mechanize-patches.rb
Overview
we check after response and it may be the last response we need it to clear here.
Instance Method Summary collapse
Instance Method Details
#add(uri, cookie) ⇒ Object
7 8 9 10 |
# File 'lib/monkey-patches/mechanize-patches.rb', line 7 def add(uri, ) cleanup old_add(uri, ) end |
#old_add ⇒ Object
6 |
# File 'lib/monkey-patches/mechanize-patches.rb', line 6 alias_method :old_add, :add |