Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
Gem::Commands::OwnerCommand.new
new
lib/rubygems/commands/owner_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/commands/owner_command.rb, line 37
def initialize
super "owner", "Manage gem owners of a gem on the push server"
add_proxy_option
add_key_option
add_otp_option
defaults.merge! add: [], remove: []
add_option "-a", "--add NEW_OWNER", "Add an owner by user identifier" do |value, options|
options[:add] << value
end
add_option "-r", "--remove OLD_OWNER", "Remove an owner by user identifier" do |value, options|
options[:remove] << value
end
add_option "-h", "--host HOST",
"Use another gemcutter-compatible host",
" (e.g. https://rubygems.org)" do |value, options|
options[:host] = value
end
end
No documentation available