Sha256: 0e543713bb40de6fe412f045b780189251f85ab99948fba7d40daaec81550336
Contents?: true
Size: 626 Bytes
Versions: 1
Compression:
Stored size: 626 Bytes
Contents
require 'rubygems' require 'curb' $:.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 attr_accessor :timeout def version "1.0.9" end 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iconoclasm-1.0.9 | lib/iconoclasm.rb |