Method: Flok::Project.list

Defined in:
lib/flok/project.rb

.listObject

Like the unix ‘find’ command, will list all files and include relative pathnames like ‘./app/controllers/’ in an array



12
13
14
15
16
17
18
19
20
21
# File 'lib/flok/project.rb', line 12

def self.list
  Dir.chdir project_template_dir do
    #Get all files/folders recursiv and strip erb
    ls = raw_list.map do |e|
      rem_erb e
    end

    return ls
  end
end