Sha256: ce1f512d826b6e1dca31070ed092aa8fe1bd564eb0fa7d9b4970e362aa05765d
Contents?: true
Size: 550 Bytes
Versions: 17
Compression:
Stored size: 550 Bytes
Contents
module Relaton module Render module Ogc class Fields < ::Relaton::Render::Fields def name_fields_format(hash) super hash[:publisher_abbrev] = hash[:publisher_abbrev_raw]&.join("/") end def draftformat(num, hash) return nil unless hash[:publisher] == "Open Geospatial Consortium" return nil unless num[:status] return nil if %w(approved published deprecated retired) .include?(num[:status]) "(Draft)" end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems