instance method
Gem::QueryUtils#spec_license
spec_license(entry, spec)
lib/rubygems/query_utils.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/query_utils.rb, line 296
def spec_license(entry, spec)
return if spec.license.nil? || 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 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0