Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Uninstaller#default_specs_that_match
default_specs_that_match(spec)
lib/rubygems/uninstaller.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/uninstaller.rb, line 400
def default_specs_that_match(spec)
@default_specs_matching_uninstall_params.select {|default_spec| spec == default_spec }
end
@return [Array] specs of default gems that are ‘==` to the given spec.
See also
#default_spec_matches?
#path_ok?
#announce_deletion_of
#regenerate_plugins
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0