class Template

Constants

TEMPLATE_BASE_DIR

Public Class Methods

template_content(name) click to toggle source
# File lib/simple-make/template.rb, line 4
def self.template_content(name)
  content = ""
  File.open(File.expand_path(TEMPLATE_BASE_DIR + name + ".erb")) do |f|
    content = f.read
  end
  content
end