Sha256: 73769af99038d420f80120a64efcf078c68eaa8b70b5e8546501244267baaed3
Contents?: true
Size: 618 Bytes
Versions: 41
Compression:
Stored size: 618 Bytes
Contents
module Relaton module Render module IEEE 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", "Institute of Electrical and Electronics Engineers", "IEEE"].include?(r[:nonpersonal]) end end end end end end
Version data entries
41 entries across 41 versions & 1 rubygems