summaryrefslogtreecommitdiff
path: root/lib/pp.rb
diff options
context:
space:
mode:
-rw-r--r--lib/pp.rb4
1 files changed, 3 insertions, 1 deletions
@@ -63,6 +63,7 @@ require 'prettyprint'
class PP < PrettyPrint
VERSION = "0.6.1"
# Returns the usable width for +out+.
@@ -138,6 +139,7 @@ class PP < PrettyPrint
end
end
module PPMethods
# Yields to a block
@@ -619,7 +621,7 @@ class MatchData # :nodoc:
end
if defined?(RubyVM::AbstractSyntaxTree)
- class RubyVM::AbstractSyntaxTree::Node
def pretty_print_children(q, names = [])
children.zip(names) do |c, n|
if n