class IsoDoc::HtmlConvert
Public Class Methods
new(options)
click to toggle source
Calls superclass method
IsoDoc::Convert::new
# File lib/isodoc/html_convert.rb, line 19 def initialize(options) @format = :html @suffix = "html" super end
Public Instance Methods
convert(filename, file = nil, debug = false, output_filename = nil)
click to toggle source
Calls superclass method
IsoDoc::Convert#convert
# File lib/isodoc/html_convert.rb, line 25 def convert(filename, file = nil, debug = false, output_filename = nil) ret = super Dir.exists?(tmpimagedir) and Dir["#{tmpimagedir}/*"].empty? and FileUtils.rm_r tmpimagedir ret end
tmpimagedir_suffix()
click to toggle source
# File lib/isodoc/html_convert.rb, line 15 def tmpimagedir_suffix "_htmlimages" end