lib/rubygems/command.rb: remove meaningless code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0dd7b4d3a
commit
0edc36b9f2
@ -504,7 +504,6 @@ class Gem::Command
|
||||
@parser.separator " #{header}Options:"
|
||||
|
||||
option_list.each do |args, handler|
|
||||
args.select { |arg| arg =~ /^-/ }
|
||||
@parser.on(*args) do |value|
|
||||
handler.call(value, @options)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user