lib/architecture-js/generator.rb in architecture-js-0.2.0 vs lib/architecture-js/generator.rb in architecture-js-0.2.1
- old
+ new
@@ -30,10 +30,10 @@
ext: ext
}
end
def read_template(file)
- ERB.new File.read(file)
+ ERB.new(File.read(file), nil, '<>')
end
def generate(template, filename, options)
raise "There is no template named #{template} in the #{@blueprint[:name]} project" if @templates[template].nil?
filename = "#{filename}#{@templates[template][:ext]}"
\ No newline at end of file