diff --git a/lib/http/cookie_jar/mozilla_store.rb b/lib/http/cookie_jar/mozilla_store.rb index 46f7aa8..3d8e340 100644 --- a/lib/http/cookie_jar/mozilla_store.rb +++ b/lib/http/cookie_jar/mozilla_store.rb @@ -109,6 +109,10 @@ class HTTP::CookieJar @gc_index = 0 end + def initialize_copy(other) + raise TypeError, 'can\'t clone %s' % self.class + end + # The file name of the SQLite3 database given in initialization. attr_reader :filename