[前][次][番号順一覧][スレッド一覧]

ruby-changes:45703

From: stomar <ko1@a...>
Date: Sun, 5 Mar 2017 04:52:38 +0900 (JST)
Subject: [ruby-changes:45703] stomar:r57775 (trunk): nodoc OptParse

stomar	2017-03-05 04:52:30 +0900 (Sun, 05 Mar 2017)

  New Revision: 57775

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57775

  Log:
    nodoc OptParse
    
    * lib/optparse.rb: [DOC] nodoc OptParse, introduced with r46126,
      to avoid leaking of its documentation (OptionParser's docs) into
      the class documentation of Object.  [ruby-core:79909] [Bug #13281]

  Modified files:
    trunk/lib/optparse.rb
Index: lib/optparse.rb
===================================================================
--- lib/optparse.rb	(revision 57774)
+++ lib/optparse.rb	(revision 57775)
@@ -2151,4 +2151,5 @@ end https://github.com/ruby/ruby/blob/trunk/lib/optparse.rb#L2151
 # ARGV is arguable by OptionParser
 ARGV.extend(OptionParser::Arguable)
 
-OptParse = OptionParser
+# An alias for OptionParser.
+OptParse = OptionParser  # :nodoc:

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]