Method: Montgomery#templatefile
- Defined in:
- lib/staticweb.rb
#templatefile ⇒ Object
79 80 81 82 83 84 85 |
# File 'lib/staticweb.rb', line 79 def templatefile list = [] list_of_template_files.each do |template| list << TemplateFile.new(template.file_name, template.file_path, File.readlines(template.file_path)) end return list end |