Sha256: 50f28e6c76ee893a40ed12f037bb5d31b606925a901c3ee376074ae49ad6718e

Contents?: true

Size: 839 Bytes

Versions: 4

Compression:

Stored size: 839 Bytes

Contents

# HTML writer
# general resource contacts

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

require 'html_responsibleParty'

module ADIWG
    module Mdtranslator
        module Writers
            module Html

                class MdHtmlResourceContact
                    def initialize(html)
                        @html = html
                    end

                    def writeHtml(resourceInfo)

                        # classes used
                        htmlParty = $HtmlNS::MdHtmlResponsibleParty.new(@html)

                        # general - contacts
                        resourceInfo[:pointsOfContact].each do |hResParty|
                            htmlParty.writeHtml(hResParty)
                        end

                    end # def writeHtml

                end

            end
        end
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adiwg-mdtranslator-1.2.1 lib/adiwg/mdtranslator/writers/html/sections/html_resourceContact.rb
adiwg-mdtranslator-1.2.0 lib/adiwg/mdtranslator/writers/html/sections/html_resourceContact.rb
adiwg-mdtranslator-1.1.1 lib/adiwg/mdtranslator/writers/html/sections/html_resourceContact.rb
adiwg-mdtranslator-1.1.0 lib/adiwg/mdtranslator/writers/html/sections/html_resourceContact.rb