Sha256: 856f051b2b239334e15656afcf2a4ee69908facb0621a6e64d8c041b270cfc98
Contents?: true
Size: 1.62 KB
Versions: 4
Compression:
Stored size: 1.62 KB
Contents
# HTML writer # resource maintenance information # History: # Stan Smith 2015-03-24 original script require 'html_responsibleParty' module ADIWG module Mdtranslator module Writers module Html class MdHtmlResourceMaintenance def initialize(html) @html = html end def writeHtml(hResMaint) # classes used htmlResParty = $HtmlNS::MdHtmlResponsibleParty.new(@html) @html.section(:class=>'block') do # resource maintenance - maintenance frequency @html.em('Frequency: ') @html.text!(hResMaint[:maintFreq]) @html.br # resource maintenance - notes aNotes = hResMaint[:maintNotes] aNotes.each do |note| @html.em('Note: ') @html.section(:class=>'block') do @html.text!(note) end end # resource maintenance - contacts aResParty = hResMaint[:maintContacts] aResParty.each do |hResParty| htmlResParty.writeHtml(hResParty) end end end # writeHtml end # class end end end end
Version data entries
4 entries across 4 versions & 1 rubygems