Method: IsoDoc::HtmlConvert#convert
- Defined in:
- lib/isodoc/html_convert.rb
#convert(filename, file = nil, debug = false, output_filename = nil) ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/isodoc/html_convert.rb', line 26 def convert(filename, file = nil, debug = false, output_filename = nil) @sectionsplit and return sectionsplit_convert(filename, file, debug, output_filename) ret = super Dir.exists?(tmpimagedir) and Dir["#{tmpimagedir}/*"].empty? and FileUtils.rm_r tmpimagedir ret end |