Class: Lono::Blueprint::List

Inherits:
Object
  • Object
show all
Defined in:
lib/lono/blueprint/list.rb

Class Method Summary collapse

Class Method Details

.availableObject



4
5
6
7
8
9
10
11
# File 'lib/lono/blueprint/list.rb', line 4

def available
  puts "Current available blueprints:"
  Find.all_blueprints.sort.each do |b|
    full_path = Find.find(b)
    path = full_path.sub("#{Lono.root}/", "")
    puts "  #{b}: #{path}"
  end
end