instance method
Gem::Specification#authors=
authors=(value)
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/specification.rb, line 267
def authors=(value)
@authors = Array(value).flatten.grep(String)
end
A list of authors for this gem.
Alternatively, a single author can be specified by assigning a string to spec.author
Usage:
Example
spec.authors = ['John Jones', 'Mary Smith']