Skip to content

Commit dbf177d

Browse files
committed
[DOC] Add documents
1 parent 96498bd commit dbf177d

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.document

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
BSDL
22
COPYING
33
README.md
4+
docs/
45
lib/

docs/kernel.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Built-in module
2+
module Kernel
3+
end

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)