# File lib/sprockets/processed_asset.rb, line 31 def init_with(environment, coder) super @source = coder['source'] @dependency_digest = coder['dependency_digest'] @required_assets = coder['required_paths'].map { |p| p = expand_root_path(p) unless environment.paths.detect { |path| p[path] } raise UnserializeError, "#{p} isn't in paths" end p == pathname.to_s ? self : environment.find_asset(p, :bundle => false) } @dependency_paths = coder['dependency_paths'].map { |h| DependencyFile.new(expand_root_path(h['path']), h['mtime'], h['digest']) } end