method

visit

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: FrameworkDefault
visit(node) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.