Method: CSL::Loader#list

Defined in:
lib/csl/loader.rb

#listObject Also known as: ls



34
35
36
37
38
# File 'lib/csl/loader.rb', line 34

def list
  Dir["#{root}/#{prefix}*#{extension}"].map do |path|
    File.basename(path, extension).sub(/^#{prefix}/, '')
  end
end