Method: Gem2Rpm::Specification#licenses
- Defined in:
- lib/gem2rpm/gem/specification.rb
#licenses ⇒ Object
The license(s) for the library. Each license must be a short name, no more than 64 characters. Returns empty array if RubyGems does not provide the field.
39 40 41 42 43 |
# File 'lib/gem2rpm/gem/specification.rb', line 39 def licenses super rescue [] end |