Sha256: 2017ab26cd60fd0996836b2de3e3c67ef424c7bbdf681a37e73acd95695dbff1
Contents?: true
Size: 551 Bytes
Versions: 24
Compression:
Stored size: 551 Bytes
Contents
require_relative "html_function/comments.rb" require_relative "html_function/footnotes.rb" require_relative "html_function/html.rb" module IsoDoc class HtmlConvert < ::IsoDoc::Convert include HtmlFunction::Comments include HtmlFunction::Footnotes include HtmlFunction::Html def tmpimagedir_suffix "_htmlimages" end def convert(filename, file = nil, debug = false) ret = super Dir.exists?(tmpimagedir) and Dir["#{tmpimagedir}/*"].empty? and FileUtils.rm_r tmpimagedir ret end end end
Version data entries
24 entries across 24 versions & 1 rubygems