summaryrefslogtreecommitdiff
path: root/lib/rubygems/optparse/lib/optparse.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-01-15 20:51:02 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-29 12:14:21 +0900
commitd64d0b54231208c7bec899a7fe8c3b98ec2e9a1b (patch)
tree9d18dbdda185bda6ccaf1f5a710f678dddbc907f /lib/rubygems/optparse/lib/optparse.rb
parent6bbbfb4629a4fdb336d5ac4f625e97ce30c15a01 (diff)
Vendor uri gem in RubyGems
Diffstat (limited to 'lib/rubygems/optparse/lib/optparse.rb')
-rw-r--r--lib/rubygems/optparse/lib/optparse.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/optparse/lib/optparse.rb b/lib/rubygems/optparse/lib/optparse.rb
index 8e700016b0..42370bf7cc 100644
--- a/lib/rubygems/optparse/lib/optparse.rb
+++ b/lib/rubygems/optparse/lib/optparse.rb
@@ -158,7 +158,7 @@
# - Date -- Anything accepted by +Date.parse+ (need to require +optparse/date+)
# - DateTime -- Anything accepted by +DateTime.parse+ (need to require +optparse/date+)
# - Time -- Anything accepted by +Time.httpdate+ or +Time.parse+ (need to require +optparse/time+)
-# - URI -- Anything accepted by +URI.parse+ (need to require +optparse/uri+)
+# - URI -- Anything accepted by +Gem::URI.parse+ (need to require +optparse/uri+)
# - Shellwords -- Anything accepted by +Shellwords.shellwords+ (need to require +optparse/shellwords+)
# - String -- Any non-empty string
# - Integer -- Any integer. Will convert octal. (e.g. 124, -3, 040)