[Source]
# File lib/yapra/plugin/erb_applier.rb, line 6 6: def apply_template template, apply_binding=binding 7: if template.index('file://') == 0 8: path = URI.parse(template).path 9: open(path) do |io| 10: template = io.read 11: end 12: end 13: ERB.new(template, nil, '-').result(apply_binding) 14: end
[Validate]