class SyntaxTree::BasicVisitor::VisitMethodError

This is raised when you use the Visitor.visit_method method and it fails. It is correctable to through DidYouMean.

Attributes

visit_method[R]

Public Class Methods

new(visit_method) click to toggle source
Calls superclass method
# File lib/syntax_tree/basic_visitor.rb, line 14
def initialize(visit_method)
  @visit_method = visit_method
  super("Invalid visit method: #{visit_method}")
end