Sha256: 2a377e5d5fcb96adc01b4515920dd420ce9b6fe078a8c34c22a85e7596aa24bc
Contents?: true
Size: 525 Bytes
Versions: 4
Compression:
Stored size: 525 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) require 'iconoclasm/downloader' require 'iconoclasm/errors' require 'iconoclasm/extractor' require 'iconoclasm/favicon' require 'iconoclasm/headers' module Iconoclasm class << self include Iconoclasm::Extractor def extract(url, content = nil) Iconoclasm::Favicon.new(extract_favicon_from(url, content)) end end end # For 1.8.6 compatibility. class String def lines Enumerable::Enumerator.new(self.split("\n")) end end unless ''.respond_to?(:lines)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
iconoclasm-1.0.6 | lib/iconoclasm.rb |
iconoclasm-1.0.5 | lib/iconoclasm.rb |
iconoclasm-1.0.4 | lib/iconoclasm.rb |
iconoclasm-1.0.3 | lib/iconoclasm.rb |