Sha256: 777b19cedd2a3f5dca9c802fd165a51c224e32132d9b47eadbd94d79fafe7034
Contents?: true
Size: 1.37 KB
Versions: 20
Compression:
Stored size: 1.37 KB
Contents
# HTML writer # classed data item # History: # Stan Smith 2015-08-21 original script module ADIWG module Mdtranslator module Writers module Simple_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
20 entries across 20 versions & 1 rubygems