class ADIWG::Mdtranslator::Writers::Html::Html_ProcessStepReport
Public Class Methods
new(html)
click to toggle source
# File lib/adiwg/mdtranslator/writers/html/sections/html_processReport.rb, line 14 def initialize(html) @html = html end
Public Instance Methods
writeHtml(hReport)
click to toggle source
# File lib/adiwg/mdtranslator/writers/html/sections/html_processReport.rb, line 18 def writeHtml(hReport) # process step report - name unless hReport[:name].nil? @html.em('Name: ') @html.text!(hReport[:name]) @html.br end # process step report - description unless hReport[:description].nil? @html.em('Description: ') @html.text!(hReport[:description]) @html.br end # process step report - file type unless hReport[:fileType].nil? @html.em('File Type: ') @html.text!(hReport[:fileType]) @html.br end end