The compatibility method clear! does not need to take arguments.

This commit is contained in:
Akinori MUSHA 2013-03-21 17:30:25 +09:00
parent ddf74fee1e
commit c442e8e0c8

View file

@ -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