Sha256: 5f24c2e007124bf1a824f36aba4a2d9f66d4ebc2e2b8403edf51ea1618e8215b
Contents?: true
Size: 599 Bytes
Versions: 12
Compression:
Stored size: 599 Bytes
Contents
require_relative "html_function/comments.rb" require_relative "html_function/footnotes.rb" require_relative "html_function/html.rb" require_relative "html_function/postprocess.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
12 entries across 12 versions & 1 rubygems