class Empyrean::TemplateLister

Public Class Methods

list() click to toggle source

Returns an array of available templates.

# File lib/empyrean/templatelister.rb, line 25
def list
  Dir[File.join TEMPLATE_DIR, "*.html.erb"].map{ |t| File.basename t }
end
print_list() click to toggle source

Prints the available templates to stdout.