# File lib/fpm/package.rb, line 136 def template(path=nil) path ||= "#{type}.erb" @logger.info("Reading template: #{path}") tpl = File.read("#{FPM::DIRS[:templates]}/#{path}") return ERB.new(tpl, nil, "-") end