handle files without path

This commit is contained in:
Loic Nageleisen 2014-02-20 14:37:08 +01:00
parent 23dc0ac284
commit 1bce8e08ea

View file

@ -31,7 +31,7 @@ module Tilt
end end
def dirname def dirname
eval_file.gsub(/#{basename}$/, '').chomp('/') File.dirname(eval_file)
end end
def find_html def find_html