benchmark/compiling.rb in faml-0.3.2 vs benchmark/compiling.rb in faml-0.3.3
- old
+ new
@@ -5,10 +5,10 @@
require 'hamlit'
require 'slim'
require 'escape_utils/html/haml'
unless ARGV[0]
- $stderr.puts "Usage: #{$0} template.haml [template.slim]"
+ $stderr.puts "Usage: #{$PROGRAM_NAME} template.haml [template.slim]"
exit 1
end
haml_code = File.read(ARGV[0])
slim_code = ARGV[1] ? File.read(ARGV[1]) : nil