Sha256: 7c25c820a81d4848271a22014053f9cf97fa91f430f67c5bc7c94431240291ec
Contents?: true
Size: 545 Bytes
Versions: 14
Compression:
Stored size: 545 Bytes
Contents
module Relaton module Render module Iso class Parse < ::Relaton::Render::Parse def simple_or_host_xml2hash(doc, host) ret = super ret.merge(home_standard: home_standard(doc, ret[:publisher_raw])) end def home_standard(_doc, pubs) pubs&.any? do |r| ["International Organization for Standardization", "ISO", "International Electrotechnical Commission", "IEC"] .include?(r[:nonpersonal]) end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems