instance method
Gem::Command#merge_options
merge_options(new_options)
lib/rubygems/command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/command.rb, line 421
def merge_options(new_options)
@options = @defaults.clone
new_options.each {|k,v| @options[k] = v }
end
Merge a set of command options with the set of default options (without modifying the default option hash).
See also
#invoke_with_build_args
#option_is_deprecated?
#invoke
#parser
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0