Sha256: ac044d710f7cc2967fedc335dcbc251d3ac16b47714a6dbf36b1950de4e06207
Contents?: true
Size: 1.79 KB
Versions: 5
Compression:
Stored size: 1.79 KB
Contents
# HTML writer # browse graphic or graphic overview # History: # Stan Smith 2015-03-24 original script module ADIWG module Mdtranslator module Writers module Html class MdHtmlBrowseGraphic def initialize(html) @html = html end def writeHtml(hBrowseG) @html.section(:class=>'block') do # browse graphic - name if !hBrowseG[:bGName].nil? @html.em('Name: ') @html.text!(hBrowseG[:bGName]) @html.br end # browse graphic - description if !hBrowseG[:bGDescription].nil? @html.em('Description: ') @html.text!(hBrowseG[:bGDescription]) @html.br end # browse graphic - type if !hBrowseG[:bGType].nil? @html.em('Type: ') @html.text!(hBrowseG[:bGType]) @html.br end # browse graphic - URI if !hBrowseG[:bGURI].nil? @html.em('URI:') @html.section(:class=>'block') do @html.a(hBrowseG[:bGURI]) end end end end # writeHtml end # class end end end end
Version data entries
5 entries across 5 versions & 1 rubygems