method

render_dependencies

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: RipperTracker
render_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/ripper_tracker.rb, line 27
        def render_dependencies
          return [] unless template.source.include?("render")

          compiled_source = template.handler.call(template, template.source)

          RenderParser.new(@name, compiled_source).render_calls.filter_map do |render_call|
            next if render_call.end_with?("/_")
            render_call.gsub(%/_|, "/")
          end
        end
Register or log in to add new notes.