Method: Traject::UMichFormat::XV6XX#initialize
- Defined in:
- lib/traject/umich_format/xv6xx.rb
#initialize(record) ⇒ XV6XX
Find all the 6XXxv values in the given record
7 8 9 10 11 12 13 14 |
# File 'lib/traject/umich_format/xv6xx.rb', line 7 def initialize(record) @vals = [] record.fields('600'..'699').each do |f| f.each do |sf| @vals << sf.value if %[x v].include?(sf.code) end end end |