lib/iconoclasm.rb in iconoclasm-1.0.6 vs lib/iconoclasm.rb in iconoclasm-1.0.7
- old
+ new
@@ -7,10 +7,11 @@
module Iconoclasm
class << self
include Iconoclasm::Extractor
+ attr_accessor :timeout
def extract(url, content = nil)
Iconoclasm::Favicon.new(extract_favicon_from(url, content))
end
end
@@ -20,6 +21,6 @@
# For 1.8.6 compatibility.
class String
def lines
Enumerable::Enumerator.new(self.split("\n"))
end
-end unless ''.respond_to?(:lines)
\ No newline at end of file
+end unless ''.respond_to?(:lines)