method

visit_assoc

Importance_0
v7.2.3 - Show latest stable - 0 notes - Class: HashToString
visit_assoc(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/hash_to_string.rb, line 15
        def visit_assoc(node)
          @to_s << " "
          visit(node.key)

          case node.key
          when SyntaxTree::StringLiteral
            @to_s << " => "
          end

          visit(node.value)
        end
Register or log in to add new notes.