method

add_dependencies

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: ERBTracker
add_dependencies(render_dependencies, arguments, pattern) 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 131
        def add_dependencies(render_dependencies, arguments, pattern)
          arguments.scan(pattern) do
            match = Regexp.last_match
            add_dynamic_dependency(render_dependencies, match[:dynamic])
            add_static_dependency(render_dependencies, match[:static], match[:quote])
          end
        end
Register or log in to add new notes.