Module: Licenses

Defined in:
lib/licenses.rb,
lib/licenses/gpl.rb,
lib/licenses/mit.rb,
lib/licenses/license.rb

Defined Under Namespace

Classes: GPL, License, MIT

Class Method Summary collapse

Class Method Details

.allObject



8
9
10
# File 'lib/licenses.rb', line 8

def all
  @all ||= []
end

.namesObject



16
17
18
# File 'lib/licenses.rb', line 16

def names
  all.collect(&:name)
end

.typesObject



12
13
14
# File 'lib/licenses.rb', line 12

def types
  all.collect(&:type)
end