Sha256: 08e20f051f43f315bcb56df51efbc409878995b127e704e20af1b69b744b038a

Contents?: true

Size: 735 Bytes

Versions: 1

Compression:

Stored size: 735 Bytes

Contents

# mdJson 2.0 writer - vector representation

# History:
#   Stan Smith 2017-03-14 original script

require 'jbuilder'
require_relative 'mdJson_vectorObject'

module ADIWG
   module Mdtranslator
      module Writers
         module MdJson

            module Vector

               def self.build(hVector)

                  @Namespace = ADIWG::Mdtranslator::Writers::MdJson

                  Jbuilder.new do |json|
                     json.topologyLevel hVector[:topologyLevel]
                     json.vectorObject @Namespace.json_map(hVector[:vectorObject], VectorObject)
                     json.scope hVector[:scope]
                  end

               end # build
            end # Vector

         end
      end
   end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.18.0rc1 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_vectorRepresentation.rb