End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::SpecificationPolicy#validate_required_attributes
validate_required_attributes
lib/rubygems/specification_policy.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/specification_policy.rb, line 264
def validate_required_attributes
Gem::Specification.required_attributes.each do |symbol|
unless @specification.send symbol
error "missing value for attribute #{symbol}"
end
end
end
No documentation available
See also
#validate_required!
#validate_require_paths
#validate_platform
#validate_rubygems_version
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1