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 25 26 27 |
# File 'lib/license_finder/license/definitions.rb', line 8 def all [ apache1_1, apache2, bsd, cc01, eclipse1, gplv2, gplv3, isc, lgpl, lgpl2_1, mit, mpl2, newbsd, python, ruby, simplifiedbsd ] end |
#build_unrecognized(name) ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/license_finder/license/definitions.rb', line 29 def build_unrecognized(name) License.new( short_name: name, url: nil, matcher: NoneMatcher.new ) end |