Class: Kiba::Extend::Transforms::Marc::ExtractPersonNameData
- Inherits:
-
ExtractBaseNameData
- Object
- ExtractBaseNameData
- Kiba::Extend::Transforms::Marc::ExtractPersonNameData
- Defined in:
- lib/kiba/extend/transforms/marc/extract_person_name_data.rb
Overview
Extract :marcid and person name data (name, role term, role code, source field tag) from fields containing structured name data
Instance Method Summary collapse
-
#initialize(name_type: "person", name_fields: Kiba::Extend::Marc.person_data_tags, name_subfields: Kiba::Extend::Marc.person_name_part_subfields, role_code_subfields: Kiba::Extend::Marc.person_role_code_subfields, role_term_subfields: Kiba::Extend::Marc.person_role_term_subfields) ⇒ ExtractPersonNameData
constructor
A new instance of ExtractPersonNameData.
Methods inherited from ExtractBaseNameData
Methods included from FieldLinkable
Constructor Details
#initialize(name_type: "person", name_fields: Kiba::Extend::Marc.person_data_tags, name_subfields: Kiba::Extend::Marc.person_name_part_subfields, role_code_subfields: Kiba::Extend::Marc.person_role_code_subfields, role_term_subfields: Kiba::Extend::Marc.person_role_term_subfields) ⇒ ExtractPersonNameData
Returns a new instance of ExtractPersonNameData.
54 55 56 57 58 59 60 61 62 63 |
# File 'lib/kiba/extend/transforms/marc/extract_person_name_data.rb', line 54 def initialize(name_type: "person", name_fields: Kiba::Extend::Marc., name_subfields: Kiba::Extend::Marc.person_name_part_subfields, role_code_subfields: Kiba::Extend::Marc.person_role_code_subfields, role_term_subfields: Kiba::Extend::Marc.person_role_term_subfields) super end |