Sha256: a5776a97be9f1743463220d7c4980b680677d784ad554c4d67139a4688dd2e4e

Contents?: true

Size: 601 Bytes

Versions: 4

Compression:

Stored size: 601 Bytes

Contents

# HTML writer
# resource type

# History:
# 	Stan Smith 2015-03-25 original script

module ADIWG
   module Mdtranslator
      module Writers
         module Html

            class Html_ResourceType

               def initialize(html)
                  @html = html
               end

               def writeHtml(hType)

                  # resource type
                  @html.em('Resource Type: ')
                  @html.text!(hType[:type] + ' - ' + hType[:name])
                  @html.br

               end # writeHtml
            end # Html_ResourceType

         end
      end
   end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.0.0rc5 lib/adiwg/mdtranslator/writers/html/sections/html_resourceType.rb
adiwg-mdtranslator-2.0.0rc4 lib/adiwg/mdtranslator/writers/html/sections/html_resourceType.rb
adiwg-mdtranslator-2.0.0rc3 lib/adiwg/mdtranslator/writers/html/sections/html_resourceType.rb
adiwg-mdtranslator-2.0.0rc2 lib/adiwg/mdtranslator/writers/html/sections/html_resourceType.rb