Sha256: d7d3bfdb27075328f46b3f912052d1e3df75ea41ce7271e8020784dcb37ae2e8
Contents?: true
Size: 1.59 KB
Versions: 20
Compression:
Stored size: 1.59 KB
Contents
# HTML writer # security constraint # History: # Stan Smith 2015-03-25 original script module ADIWG module Mdtranslator module Writers module Html class MdHtmlSecurityConstraint def initialize(html) @html = html end def writeHtml(hSecCon) # security constraint - classification - required @html.em('Classification: ') @html.text!(hSecCon[:classCode]) @html.br # security constraint - class system s = hSecCon[:classSystem] if !s.nil? @html.em('Class system: ') @html.text!(s) @html.br end # security constraint - handling instructions s = hSecCon[:handlingDesc] if !s.nil? @html.em('Handling instructions: ') @html.text!(s) @html.br end # security constraint - user note s = hSecCon[:userNote] if !s.nil? @html.em('User note: ') @html.text!(s) @html.br end end # writeHtml end # class end end end end
Version data entries
20 entries across 20 versions & 1 rubygems