Skip to content

Commit 492b379

Browse files
nobumatzbot
authored andcommitted
[ruby/pp] [DOC] Add documents
ruby/pp@dbf177d0fc
1 parent aea38ef commit 492b379

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/pp.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363

6464
class PP < PrettyPrint
6565

66+
# The version string
6667
VERSION = "0.6.1"
6768

6869
# Returns the usable width for +out+.
@@ -138,6 +139,7 @@ class << self
138139
end
139140
end
140141

142+
# Module that defines helper methods for pretty_print.
141143
module PPMethods
142144

143145
# Yields to a block
@@ -619,7 +621,7 @@ def pretty_print(q) # :nodoc:
619621
end
620622

621623
if defined?(RubyVM::AbstractSyntaxTree)
622-
class RubyVM::AbstractSyntaxTree::Node
624+
class RubyVM::AbstractSyntaxTree::Node # :nodoc:
623625
def pretty_print_children(q, names = [])
624626
children.zip(names) do |c, n|
625627
if n

0 commit comments

Comments
 (0)