class ActionView::DependencyTracker::RipperTracker
def resolve_directories(wildcard_dependencies)
def resolve_directories(wildcard_dependencies) return [] unless view_paths return [] if wildcard_dependencies.empty? # Remove trailing "/*" prefixes = wildcard_dependencies.map { |query| query[0..-3] } view_paths.flat_map(&:all_template_paths).uniq.filter_map { |path| path.to_s if prefixes.include?(path.prefix) }.sort end