summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-12 16:28:42 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-12 16:28:42 +0000
commit488a07de474feff400dad1e133fcc0dfa1fc2f17 (patch)
treeb3256b484564aef4e4361266f1c13a830b190af1 /lib
parent9c2c599ee8c54f3a3b9a19027ec0e8108bd3291a (diff)
merge revision(s) 57775: [Backport #13281]
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/optparse.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb
index afeff80740..d887e2f98d 100644
--- a/lib/optparse.rb
+++ b/lib/optparse.rb
@@ -2151,4 +2151,5 @@ end
# ARGV is arguable by OptionParser
ARGV.extend(OptionParser::Arguable)
-OptParse = OptionParser
+# An alias for OptionParser.
+OptParse = OptionParser # :nodoc: