class Prism::InspectVisitor
This visitor is responsible for composing the strings that get returned by the various inspect methods defined on each of the nodes.
Public Class Methods
Source
# File lib/prism/inspect_visitor.rb, line 43 def self.compose(node) visitor = new node.accept(visitor) visitor.compose end
Compose an inspect string for the given node.