module ADIWG::Mdtranslator::Readers::MdJson::RangeElementDescription
Public Class Methods
unpack(hRangeElementDescription, responseObj, inContext = nil)
click to toggle source
# File lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb, line 10 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