Constants
No documentation available
Class Methods
No documentation available
No documentation available

Identify the code fragment that seems associated with a given error

Arguments:

node: RubyVM::AbstractSyntaxTree::Node (script_lines should be enabled)
point_type: :name | :args
name: The name associated with the NameError/NoMethodError

Returns:

{
  first_lineno: Integer,
  first_column: Integer,
  last_lineno: Integer,
  last_column: Integer,
  snippet: String,
} | nil