method

visit

Importance_0
v8.1.1 - Show latest stable - 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 16
      def visit(node)
        target_version_case = node.breadth_first_search do |n|
          n in Prism::CaseNode[
            predicate: Prism::CallNode[receiver: Prism::LocalVariableReadNode[name: :target_version]]
          ]
        end

        target_version_case.conditions.each { |cond| visit_when(cond) }
      end
Register or log in to add new notes.