Maintenance Ruby 3.3 gets fixes, but no new features. 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.3.0/lib/pp.rb, line 579
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