method

add_dependencies

Importance_0
v5.1.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 129
        def add_dependencies(render_dependencies, arguments, pattern)
          arguments.scan(pattern) do
            add_dynamic_dependency(render_dependencies, Regexp.last_match[:dynamic])
            add_static_dependency(render_dependencies, Regexp.last_match[:static])
          end
        end
Register or log in to add new notes.