Sha256: 74cbe1d84ee02799129fa861272284a302c16b81147e73a7223f0cc0288b1e05
Contents?: true
Size: 471 Bytes
Versions: 68
Compression:
Stored size: 471 Bytes
Contents
module PowerStencil module Engine module Renderers module Erb private def render_erb_template(source, context) logger.debug "Using ERB to render file '#{source}'" ERB.new(File.read(source), nil, '-').result(context) rescue => e logger.debug PowerStencil::Error.report_error(e) raise PowerStencil::Error, "Error rendering '#{source}': '#{e.message}'" end end end end end
Version data entries
68 entries across 68 versions & 1 rubygems