method

add_static_dependency

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ERBTracker
add_static_dependency(dependencies, dependency) 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.rb, line 124
        def add_static_dependency(dependencies, dependency)
          if dependency
            if dependency.include?('/')
              dependencies << dependency
            else
              dependencies << "#{directory}/#{dependency}"
            end
          end
        end
Register or log in to add new notes.