diff --git a/.document b/.document new file mode 100644 index 0000000..1d07bdf --- /dev/null +++ b/.document @@ -0,0 +1,5 @@ +BSDL +COPYING +README.md +docs/ +lib/ diff --git a/.rdoc_options b/.rdoc_options new file mode 100644 index 0000000..f9297d9 --- /dev/null +++ b/.rdoc_options @@ -0,0 +1,2 @@ +--- +main_page: README.md diff --git a/docs/kernel.rb b/docs/kernel.rb new file mode 100644 index 0000000..2e2dbad --- /dev/null +++ b/docs/kernel.rb @@ -0,0 +1,3 @@ +# Built-in module +module Kernel +end diff --git a/lib/pp.rb b/lib/pp.rb index 3e7b077..2cf0045 100644 --- a/lib/pp.rb +++ b/lib/pp.rb @@ -63,6 +63,7 @@ class PP < PrettyPrint + # The version string VERSION = "0.6.1" # Returns the usable width for +out+. @@ -138,6 +139,7 @@ class << self end end + # Module that defines helper methods for pretty_print. module PPMethods # Yields to a block @@ -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