summaryrefslogtreecommitdiff
path: root/lib/optparse/uri.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-21 04:27:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-21 04:27:06 +0000
commit564c80b10a116c49ac0dbcfe620e3f776c0d3845 (patch)
tree72d6bfaf40ae3ad0043c88122796d134720aba54 /lib/optparse/uri.rb
parentbec6d3b1b9a5fcc4ed37c98814e114066cfcc0a5 (diff)
* lib/optparse.rb: get rid of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/optparse/uri.rb')
-rw-r--r--lib/optparse/uri.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse/uri.rb b/lib/optparse/uri.rb
index 5bdcf57..024dc69 100644
--- a/lib/optparse/uri.rb
+++ b/lib/optparse/uri.rb
@@ -3,4 +3,4 @@
require 'optparse'
require 'uri'
-OptionParser.accept(URI) {|s| URI.parse(s) if s}
+OptionParser.accept(URI) {|s,| URI.parse(s) if s}