Flowdock
method

spec_license

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: QueryCommand
spec_license(entry, spec) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/query_command.rb, line 306
  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
Register or log in to add new notes.