aboutsummaryrefslogtreecommitdiffstats
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
commitf45ac5c72bec174bc83fcc39d8020db25529b672 (patch)
tree42f20aead6ea0f9e92cdcfc1c06963add9da100d
parentfa27b4150b8fdd43b11b9d3b4c086d02de99166a (diff)
downloadruby-f45ac5c72bec174bc83fcc39d8020db25529b672.tar.gz
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
-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