Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .document
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
BSDL
COPYING
README.md
docs/
lib/
2 changes: 2 additions & 0 deletions .rdoc_options
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
main_page: README.md
3 changes: 3 additions & 0 deletions docs/kernel.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Built-in module
module Kernel
end
4 changes: 3 additions & 1 deletion lib/pp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@

class PP < PrettyPrint

# The version string
VERSION = "0.6.1"

# Returns the usable width for +out+.
Expand Down Expand Up @@ -138,6 +139,7 @@ class << self
end
end

# Module that defines helper methods for pretty_print.
module PPMethods

# Yields to a block
Expand Down Expand Up @@ -619,7 +621,7 @@ def pretty_print(q) # :nodoc:
end

if defined?(RubyVM::AbstractSyntaxTree)
class RubyVM::AbstractSyntaxTree::Node
class RubyVM::AbstractSyntaxTree::Node # :nodoc:
def pretty_print_children(q, names = [])
children.zip(names) do |c, n|
if n
Expand Down