lib/rubyfocus/fetchers/fetcher.rb in rubyfocus-0.5.9 vs lib/rubyfocus/fetchers/fetcher.rb in rubyfocus-0.5.11
- old
+ new
@@ -54,9 +54,14 @@
patch_array = patch_array[1..-1] + next_patches
end
return false
end
+ # Is this fetcher encrypted?
+ def encrypted?
+ raise RuntimeError, "Method Fetcher#encrypted? called for abstract class Fetcher."
+ end
+
#---------------------------------------
# Patching methods
# Update the document as far as we can
def update_full(document)
\ No newline at end of file