Sha256: 1a330b571273cb9976505f220d20304dafcfafe7ad774fac7737b796beacbb3b
Contents?: true
Size: 1.36 KB
Versions: 92
Compression:
Stored size: 1.36 KB
Contents
# HTML writer # classed data item # History: # Stan Smith 2015-08-21 original script module ADIWG module Mdtranslator module Writers module Html class MdHtmlClassedDataItem def initialize(html) @html = html end def writeHtml(hClassItem) # classed data item - name s = hClassItem[:className] if !s.nil? @html.em('Item name: ') @html.text!(s) @html.br end # classed data item - description s = hClassItem[:classDescription] if !s.nil? @html.em('Item description: ') @html.text!(s) @html.br end # classed data item - value s = hClassItem[:classValue] if !s.nil? @html.em('Item value: ') @html.text!(s.to_s) @html.br end end # writeHtml end # class end end end end
Version data entries
92 entries across 92 versions & 1 rubygems