lib/lono/template/template.rb in lono-4.2.4 vs lib/lono/template/template.rb in lono-4.2.5
- old
+ new
@@ -44,10 +44,10 @@
instance_eval(&@block) if @block
if File.exist?(@source_path)
RenderMePretty.result(@source_path, context: context)
else
- puts "ERROR: #{@source_path} does not exist, but it was used as a template source.".colorize(:red)
+ puts "ERROR: #{@source_path} does not exist, but it was used as a template source.".color(:red)
exit 1
end
end
# Context for ERB rendering.