Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::SpecificationPolicy#validate_authors_field
validate_authors_field
lib/rubygems/specification_policy.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/specification_policy.rb, line 337
def validate_authors_field
return unless @specification.authors.empty?
error "authors may not be empty"
end
No documentation available
See also
#validate_attribute_present
#validate_executable
#validate_array_attributes
#validate_for_resolution
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0