Class MARC::FieldMap
In: lib/marc/record.rb
Parent: Array

The FieldMap is an Array of DataFields and Controlfields. It also contains a Hash representation of the fields for faster lookups (under certain conditions)

Methods

each_by_tag   new   reindex   tag_list  

Attributes

clean  [RW] 
tags  [R] 

Public Class methods

Public Instance methods

Returns an array of fields, in the order they appear, according to their tag. The tags argument can be a string (e.g. ‘245’), an array ([‘100’,’700’,’800’]) or a range ((‘600’..’699’)).

Rebuild the HashWithChecksumAttribute with the current values of the fields Array

Returns an array of all of the tags that appear in the record (not in the order they appear, however).

[Validate]