Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::Specification.remove_spec
remove_spec(spec)
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/specification.rb, line 909
def self.remove_spec(spec)
_all.delete spec.to_spec
stubs.delete spec
(@@stubs_by_name[spec.name] || []).delete spec
end
Removes spec from the known specs.
See also
.outdated_and_latest_version
.required_attribute?
.outdated
.required_attributes
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1