class Sprockets::Index

def initialize(environment)

def initialize(environment)
  @environment = environment
  if environment.respond_to?(:default_external_encoding)
    @default_external_encoding = environment.default_external_encoding
  end
  # Copy environment attributes
  @logger            = environment.logger
  @context_class     = environment.context_class
  @cache             = environment.cache
  @trail             = environment.trail.index
  @digest            = environment.digest
  @digest_class      = environment.digest_class
  @version           = environment.version
  @mime_types        = environment.mime_types
  @engines           = environment.engines
  @preprocessors     = environment.preprocessors
  @postprocessors    = environment.postprocessors
  @bundle_processors = environment.bundle_processors
  # Initialize caches
  @assets  = {}
  @digests = {}
end