Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Commands::OwnerCommand#get_owner_scope
get_owner_scope(method: nil)
lib/rubygems/commands/owner_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/commands/owner_command.rb, line 118
def get_owner_scope(method: nil)
if method == :post || options.any? && options[:add].any?
:add_owner
elsif method == :delete || options.any? && options[:remove].any?
:remove_owner
end
end
No documentation available
See also
#execute
#manage_owners
#add_owners
#remove_owners
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0