mirror of
https://github.com/lloeki/tilt-pdf.git
synced 2025-12-06 10:34:41 +01:00
handle files without path
This commit is contained in:
parent
23dc0ac284
commit
1bce8e08ea
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue