ruby-changes:44974
From: naruse <ko1@a...>
Date: Sun, 11 Dec 2016 03:23:39 +0900 (JST)
Subject: [ruby-changes:44974] naruse:r57047 (trunk): Add missing :nodoc: comment
naruse 2016-12-11 03:23:33 +0900 (Sun, 11 Dec 2016) New Revision: 57047 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57047 Log: 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@g...> https://github.com/ruby/ruby/pull/1482 fix GH-1482 Modified files: trunk/lib/pp.rb Index: lib/pp.rb =================================================================== --- lib/pp.rb (revision 57046) +++ lib/pp.rb (revision 57047) @@ -417,8 +417,8 @@ class Range # :nodoc: https://github.com/ruby/ruby/blob/trunk/lib/pp.rb#L417 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/