# File lib/juicer/image_embed.rb, line 28
    def initialize(options = {})
      @document_root = options[:document_root]
      @document_root.sub!(%r{/?$}, "") if @document_root # Remove trailing slash
      @type = options[:type] || :none
      @contents = nil
      @hosts = options[:hosts]
      @path_resolver = Juicer::Asset::PathResolver.new(:document_root => options[:document_root],
                                                       :hosts => options[:hosts])
      @force = options[:force]
    end