summaryrefslogtreecommitdiff
path: root/lib/rubygems/command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2021-05-28 12:47:49 +0200
committerHiroshi SHIBATA <[email protected]>2021-07-07 13:30:20 +0900
commit6e2240a2f954c84ed12357382c9c065ae4b91e11 ()
treeef4b33a9a67843cbc45aad510d7bca9f2a763496 /lib/rubygems/command.rb
parent9952e9358ea73a1bda8d5f8c8672ee1c04892ce4 (diff)
Sync latest bundler & rubygems development version
Notes: Merged: https://.com/ruby/ruby/pull/4533
-rw-r--r--lib/rubygems/command.rb2
1 files changed, 2 insertions, 0 deletions
@@ -355,6 +355,8 @@ class Gem::Command
def add_option(*opts, &handler) # :yields: value, options
group_name = Symbol === opts.first ? opts.shift : :options
@option_groups[group_name] << [opts, handler]
end