Sha256: 48c19c2488661986c3526eaa762dda78b116e640bd985a5342d05bce44cdb5af
Contents?: true
Size: 356 Bytes
Versions: 15
Compression:
Stored size: 356 Bytes
Contents
module QDM # Find the right datatype model. class ModelFinder @hqmfOidToDatatypeMap = JSON.parse(File.read(File.join(File.dirname(__FILE__), 'hqmfOid_to_datatype_map.json'))) def self.by_hqmf_oid(hqmfOid) datatype = @hqmfOidToDatatypeMap[hqmfOid] return nil if datatype.nil? return QDM.const_get(datatype) end end end
Version data entries
15 entries across 15 versions & 1 rubygems