Module: Licenses
- Defined in:
- lib/licenses.rb,
lib/licenses/gpl.rb,
lib/licenses/mit.rb,
lib/licenses/license.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.all ⇒ Object
8 9 10 |
# File 'lib/licenses.rb', line 8 def all @all ||= [] end |
.names ⇒ Object
16 17 18 |
# File 'lib/licenses.rb', line 16 def names all.collect(&:name) end |
.types ⇒ Object
12 13 14 |
# File 'lib/licenses.rb', line 12 def types all.collect(&:type) end |