method

visit_when

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

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 38
        def visit_when(node)
          version = node.arguments.parts[0].parts[0].value

          config_map[version] = VersionedConfig.new.config_for(node.statements)

          visit_when(node.consequent) if node.consequent.is_a? SyntaxTree::When
        end
Register or log in to add new notes.