method

visit

visit(node)
public

No documentation available.

# File tools/rail_inspector/lib/rail_inspector/visitor/framework_default.rb, line 30
      def visit(node)
        case_node, *others = TargetVersionCaseFinder.scan(node).to_a
        raise "#{others.length} other cases?" unless others.empty?

        visit_when(case_node.consequent)
      end