Sha256: a2a720ef82b0d5a1c15de01b165ae3b01e5d5cf36120f02bfb0d2e8c63d9a961
Contents?: true
Size: 1.28 KB
Versions: 16
Compression:
Stored size: 1.28 KB
Contents
# HTML writer # format # History: # Stan Smith 2015-03-27 original script # Stan Smith 2015-09-21 added compression method element module ADIWG module Mdtranslator module Writers module Html class MdHtmlFormat def initialize(html) @html = html end def writeHtml(hFormat) # resource format - format name, version, compression method s = hFormat[:formatName] if !s.nil? @html.em('Resource format: ') @html.text!(s) s = hFormat[:formatVersion] if !s.nil? @html.em('Version: ') @html.text!(s) end s = hFormat[:compressionMethod] if !s.nil? @html.em('Compression: ') @html.text!(s) end @html.br end end # writeHtml end # class end end end end
Version data entries
16 entries across 16 versions & 1 rubygems