mirror of
https://github.com/lloeki/tilt-pdf.git
synced 2025-12-06 18:44:40 +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
|
||||
|
||||
def dirname
|
||||
eval_file.gsub(/#{basename}$/, '').chomp('/')
|
||||
File.dirname(eval_file)
|
||||
end
|
||||
|
||||
def find_html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue