class Sprockets::DirectiveProcessor

def _call(input)

def _call(input)
  @environment  = input[:environment]
  @uri          = input[:uri]
  @filename     = input[:filename]
  @dirname      = File.dirname(@filename)
  @content_type = input[:content_type]
  @required     = Set.new(input[:metadata][:required])
  @stubbed      = Set.new(input[:metadata][:stubbed])
  @links        = Set.new(input[:metadata][:links])
  @dependencies = Set.new(input[:metadata][:dependencies])
  data, directives = process_source(input[:data])
  process_directives(directives)
  { data: data,
    required: @required,
    stubbed: @stubbed,
    links: @links,
    dependencies: @dependencies }
end