End of Life Ruby 3.1 has reached end of life and gets no more fixes. 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.1.3/lib/rubygems/uninstaller.rb, line 401
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.3 · 3.2 · 3.0