End of Life Ruby 3.0 has reached end of life and gets no more fixes. 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-3.0.5/lib/rubygems/commands/owner_command.rb, line 111
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.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1