End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
RubyVM::AbstractSyntaxTree::Node#pretty_print_children
pretty_print_children(q, names = [])
lib/pp.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/pp.rb, line 555
def pretty_print_children(q, names = [])
children.zip(names) do |c, n|
if n
q.breakable
q.text "#{n}:"
end
q.group(2) do
q.breakable
q.pp c
end
end
end
No documentation available