mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +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
|
||||
|
||||
# Used to exist in Mechanize::CookieJar. Use #clear().
|
||||
def clear!(*args)
|
||||
def clear!
|
||||
raise NoMethodError, 'HTTP::Cookie equivalent for Mechanize::CookieJar#clear!() is #clear().'
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue