Sha256: e27b0448233f65fd4aa202229a550d5318697390b23ee102f834ddc3a81670b5

Contents?: true

Size: 1.08 KB

Versions: 13

Compression:

Stored size: 1.08 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?('rangeElements')
              intRangeElementDescription[:rangeElements] = hRangeElementDescription['rangeElements']
            end

            return intRangeElementDescription

          end

        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.18.4 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.2 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.1 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.0 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.0rc9 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.0rc8 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.0rc7 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.0rc6 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.0rc5 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.0rc4 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.0rc3 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.0rc2 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
adiwg-mdtranslator-2.18.0rc1 lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb