class ErbWrapper
Public Instance Methods
generate_file(template, data, output_file)
click to toggle source
# File lib/ceedling/erb_wrapper.rb, line 4 def generate_file(template, data, output_file) File.open(output_file, "w") do |f| f << ERB.new(template, 0, "<>").result(binding) end end