1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
naruse 2016-12-10 18:23:33 +00:00
parent 548ec36c69
commit 66c9bb11aa

View file

@ -417,8 +417,8 @@ class Range # :nodoc:
end end
end end
class String class String # :nodoc:
def pretty_print(q) def pretty_print(q) # :nodoc:
lines = self.lines lines = self.lines
if lines.size > 1 if lines.size > 1
q.group(0, '', '') do q.group(0, '', '') do