Sha256: 69d4d6006b374ab12f2c00e70b59b91cd536429f7ade6fff9c4978c99146b19b

Contents?: true

Size: 997 Bytes

Versions: 8

Compression:

Stored size: 997 Bytes

Contents

# HTML writer
# metadata repository

# History:
#  Stan Smith 2017-04-05 original script

module ADIWG
   module Mdtranslator
      module Writers
         module Html

            class Html_Repository

               def initialize(html)
                  @html = html
               end

               def writeHtml(hRepository)

                  # metadata repository - repository
                  unless hRepository[:repository].nil?
                     @html.em('Repository Name: ')
                     @html.text!(hRepository[:repository])
                     @html.br
                  end

                  # metadata repository - metadata standard
                  unless hRepository[:metadataStandard].nil?
                     @html.em('Metadata Standard: ')
                     @html.text!(hRepository[:metadataStandard])
                     @html.br
                  end

               end # writeHtml
            end # Html_Repository

         end
      end
   end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.0.0rc9 lib/adiwg/mdtranslator/writers/html/sections/html_metadataRepository.rb
adiwg-mdtranslator-2.0.0rc8 lib/adiwg/mdtranslator/writers/html/sections/html_metadataRepository.rb
adiwg-mdtranslator-2.0.0rc7 lib/adiwg/mdtranslator/writers/html/sections/html_metadataRepository.rb
adiwg-mdtranslator-2.0.0rc6 lib/adiwg/mdtranslator/writers/html/sections/html_metadataRepository.rb
adiwg-mdtranslator-2.0.0rc5 lib/adiwg/mdtranslator/writers/html/sections/html_metadataRepository.rb
adiwg-mdtranslator-2.0.0rc4 lib/adiwg/mdtranslator/writers/html/sections/html_metadataRepository.rb
adiwg-mdtranslator-2.0.0rc3 lib/adiwg/mdtranslator/writers/html/sections/html_metadataRepository.rb
adiwg-mdtranslator-2.0.0rc2 lib/adiwg/mdtranslator/writers/html/sections/html_metadataRepository.rb