method

explicit_dependencies

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ERBTracker
explicit_dependencies() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/dependency_tracker/erb_tracker.rb, line 145
        def explicit_dependencies
          dependencies = source.scan(EXPLICIT_DEPENDENCY).flatten.uniq

          wildcards, explicits = dependencies.partition { |dependency| dependency.end_with?("/*") }

          (explicits + resolve_directories(wildcards)).uniq
        end
Register or log in to add new notes.