Support for the Ruby 2.3 series has ended. See here for reference.

In Files

  • rubygems/util/licenses.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Gem::Licenses

Constants

IDENTIFIERS

Software Package Data Exchange (SPDX) standard open-source software license identifiers

NONSTANDARD
REGEXP

Public Class Methods

match?(license) click to toggle source
 
               # File rubygems/util/licenses.rb, line 326
def self.match?(license)
  !REGEXP.match(license).nil?
end