Module: LicenseFinder::License::Definitions
- Extended by:
- Definitions
- Included in:
- Definitions
- Defined in:
- lib/license_finder/license/definitions.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/license_finder/license/definitions.rb', line 8 def all [ apache2, bsd, cc01, gplv2, gplv3, isc, lgpl, mit, mpl2, newbsd, python, ruby, simplifiedbsd ] end |
#build_unrecognized(name) ⇒ Object
26 27 28 29 30 31 32 |
# File 'lib/license_finder/license/definitions.rb', line 26 def build_unrecognized(name) License.new( short_name: name, url: nil, matcher: NoneMatcher.new ) end |