Sha256: 54594ba798a6726f2bc3c425492246c4b2f9f484770eba2344afd49f3a9ba33b
Contents?: true
Size: 1003 Bytes
Versions: 16
Compression:
Stored size: 1003 Bytes
Contents
# HTML writer # responsible party # History: # Stan Smith 2015-03-24 original script # Stan Smith 2015-07-16 refactored to remove global namespace $HtmlNS require_relative 'html_contact' module ADIWG module Mdtranslator module Writers module Html class MdHtmlResponsibleParty def initialize(html) @html = html end def writeHtml(hResParty) # classes used htmlContact = MdHtmlContact.new(@html) @html.details do @html.summary(hResParty[:roleName], {'class'=>'h5'}) @html.section(:class=>'block') do htmlContact.writeHtml(hResParty[:contactId]) end end end # writeHtml end # class end end end end
Version data entries
16 entries across 16 versions & 1 rubygems