mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-04-27 14:57:46 +00:00
The compatibility method clear! does not need to take arguments.
This commit is contained in:
parent
ddf74fee1e
commit
c442e8e0c8
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ class HTTP::CookieJar
|
||||||
end
|
end
|
||||||
|
|
||||||
# Used to exist in Mechanize::CookieJar. Use #clear().
|
# Used to exist in Mechanize::CookieJar. Use #clear().
|
||||||
def clear!(*args)
|
def clear!
|
||||||
raise NoMethodError, 'HTTP::Cookie equivalent for Mechanize::CookieJar#clear!() is #clear().'
|
raise NoMethodError, 'HTTP::Cookie equivalent for Mechanize::CookieJar#clear!() is #clear().'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue