# File lib/sprockets/bundled_asset.rb, line 22 def init_with(environment, coder) @options = {} super @body = coder['body'] @assets = coder['asset_paths'].map { |p| p = expand_root_path(p) p == pathname.to_s ? self : environment[p, @options] } @dependency_paths = coder['dependency_paths'].map { |h| h.merge('path' => expand_root_path(h['path'])) } @dependency_paths.each do |dep| dep['mtime'] = Time.parse(dep['mtime']) if dep['mtime'].is_a?(String) end end