method

spot

rails latest stable - Class: ActionView::Template
spot(location)
public

No documentation available.

# File actionview/lib/action_view/template.rb, line 218
    def spot(location) # :nodoc:
      ast = RubyVM::AbstractSyntaxTree.parse(compiled_source, keep_script_lines: true)
      node_id = RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location(location)
      node = find_node_by_id(ast, node_id)

      ErrorHighlight.spot(node)
    end