End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::Specification.required_attribute?
required_attribute?(name)
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/specification.rb, line 1217
def self.required_attribute?(name)
@@required_attributes.include? name.to_sym
end
Is name a required attribute?
See also
.outdated_and_latest_version
.required_attributes
.outdated
.reset
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1