Sha256: a31aa5874dc90b0256eb20a0f5597beb73df3ad1f2302b88441e010d8c4ef31a
Contents?: true
Size: 469 Bytes
Versions: 7
Compression:
Stored size: 469 Bytes
Contents
# ISO <<CodeLists>> gmd:MD_ObligationCode # enumeration # from http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml # History: # Stan Smith 2013-10-21 original script class MD_ObligationCode def initialize(xml) @xml = xml end def writeXML(codeName) case(codeName) when 'mandatory', 'optional', 'conditional' else codeName = 'INVALID OBLIGATION' end # write xml @xml.tag!('gmd:MD_ObligationCode',codeName) end end
Version data entries
7 entries across 7 versions & 1 rubygems