End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::QueryUtils#spec_license
spec_license(entry, spec)
lib/rubygems/query_utils.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/query_utils.rb, line 299
def spec_license(entry, spec)
return if spec.license.nil? or spec.license.empty?
licenses = "License#{spec.licenses.length > 1 ? 's' : ''}: ".dup
licenses << spec.licenses.join(', ')
entry << "\n" << format_text(licenses, 68, 4)
end
No documentation available
See also
#spec_homepage
#spec_loaded_from
#spec_authors
#spec_platforms
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1