method

explicit_dependencies

rails latest stable - Class: ActionView::DependencyTracker::RubyTracker

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

explicit_dependencies()
private

No documentation available.

# File actionview/lib/action_view/dependency_tracker/ruby_tracker.rb, line 39
        def explicit_dependencies
          dependencies = template.source.scan(EXPLICIT_DEPENDENCY).flatten.uniq

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

          (explicits + resolve_directories(wildcards)).uniq
        end