You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: dependency_tracker.rb
    path of file: ./repos/stackneveroverflow/vendor/bundle/ruby/2.3.0/gems/actionview-5.0.3/lib/action_view
    
    the code of the file until where you have to start completion: require 'concurrent/map'
require 'action_view/path_set'

module ActionView
  class DependencyT
    
        def resolve_directories(wildcard_dependencies)
          return [] unless @view_paths

          wildcard_dependencies.flat_map { |query, templates|
            @view_paths.find_all_with_query(query).map do |template|
              "#{File.dirname(query)}/#{File.basename(template).split('.').first}"
            end
          }.sort
        end