Sha256: 19fdfe6aeeca9808efbe18ae96e200e0559c1cbc5290927d7d766ca2fbc1893c
Contents?: true
Size: 609 Bytes
Versions: 4
Compression:
Stored size: 609 Bytes
Contents
require 'marc' require 'berkeley_library/tind/mapping/tind_control_subfield' module BerkeleyLibrary module TIND require 'marc' module Mapping class TindFieldFromLeader include CsvMultipleMapper include Util include TindControlSubfield def initialize(record) @leader_value = record.leader end def to_datafields leader_rules = rules[Util.tag_symbol('LDR')] return [] unless @leader_value && leader_rules extracted_fields_from_leader(leader_rules, @leader_value) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems