Sha256: 03eca1c56e74b447fa3d6023e70b865e2c394c2f2e7249249c0558028fda2a90

Contents?: true

Size: 1.07 KB

Versions: 13

Compression:

Stored size: 1.07 KB

Contents

# unpack range element description

module ADIWG
  module Mdtranslator
    module Readers
      module MdJson

        module RangeElementDescription

          def self.unpack(hRangeElementDescription, responseObj, inContext = nil)
            @MessagePath = ADIWG::Mdtranslator::Readers::MdJson::MdJson

            outContext = 'range element description'
            outContext = inContext + ' > ' + outContext unless inContext.nil?

            intRangeElementDescription = {}

            if hRangeElementDescription.has_key?('name')
              intRangeElementDescription[:name] = hRangeElementDescription['name']
            end

            if hRangeElementDescription.has_key?('definition')
              intRangeElementDescription[:definition] = hRangeElementDescription['definition']
            end

            if hRangeElementDescription.has_key?('rangeElement')
              intRangeElementDescription[:rangeElement] = hRangeElementDescription['rangeElement']
            end

            return intRangeElementDescription

          end

        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.19.0.pre.beta.31 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.30 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.29 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.28 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.27 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.26 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.13 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.12 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.11 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.10 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.9 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.8 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.19.0.pre.beta.7 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb