From 9d3975f641f65a958bfa8d10550721f42df00dd3 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 15 Mar 2013 11:27:02 +0900 Subject: [PATCH] A Store class should define empty?. --- lib/http/cookie_jar/abstract_store.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/http/cookie_jar/abstract_store.rb b/lib/http/cookie_jar/abstract_store.rb index 0ff2a37..6565ab4 100644 --- a/lib/http/cookie_jar/abstract_store.rb +++ b/lib/http/cookie_jar/abstract_store.rb @@ -71,6 +71,10 @@ class HTTP::CookieJar::AbstractStore end include Enumerable + def empty? + raise + end + def clear raise self