summaryrefslogtreecommitdiff
path: root/lib/pp.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-10 18:23:33 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-10 18:23:33 +0000
commit66c9bb11aac6036393a421a8946e1c5aaebddc6f (patch)
tree42f20aead6ea0f9e92cdcfc1c06963add9da100d /lib/pp.rb
parent548ec36c69ce533f16229f25b3635782a1134d8b (diff)
Add missing :nodoc: comment
We were missing a `:nodoc:` magic comment that was making automated tools show that this method was missing documentation, when it really didn't need to be documented. by Devon Estes <devon.c.estes@gmail.com> https://github.com/ruby/ruby/pull/1482 fix GH-1482 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pp.rb')
-rw-r--r--lib/pp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pp.rb b/lib/pp.rb
index aa2b67a420..e19edef0ee 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -417,8 +417,8 @@ class Range # :nodoc:
end
end
-class String
- def pretty_print(q)
+class String # :nodoc:
+ def pretty_print(q) # :nodoc:
lines = self.lines
if lines.size > 1
q.group(0, '', '') do