Top Level Namespace
Defined Under Namespace
Modules: BookType, ComputerType, MARC, MapType, MixedType, RecordType, ScoreType, SerialType, SoundType, VisualType
Instance Method Summary collapse
Instance Method Details
#get_fixed_field_position ⇒ Object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/enhanced_marc/leftovers.rb', line 1 def get_fixed_field_position ff_pos = { 'Ctry' => { '008' => { 'BKS' => {:start => 15, :len => 3, :def => ' ' }, 'SER' => {:start => 15, :len => 3, :def => ' ' }, 'VIS' => {:start => 15, :len => 3, :def => ' ' }, 'MIX' => {:start => 15, :len => 3, :def => ' ' }, 'MAP' => {:start => 15, :len => 3, :def => ' ' }, 'SCO' => {:start => 15, :len => 3, :def => ' ' }, 'REC' => {:start => 15, :len => 3, :def => ' ' }, 'COM' => {:start => 15, :len => 3, :def => ' ' } } }, 'Lang' => { '008' => { 'BKS' => {:start => 35, :len => 3, :def => ' ' }, 'SER' => {:start => 35, :len => 3, :def => ' ' }, 'VIS' => {:start => 35, :len => 3, :def => ' ' }, 'MIX' => {:start => 35, :len => 3, :def => ' ' }, 'MAP' => {:start => 35, :len => 3, :def => ' ' }, 'SCO' => {:start => 35, :len => 3, :def => ' ' }, 'REC' => {:start => 35, :len => 3, :def => ' ' }, 'COM' => {:start => 35, :len => 3, :def => ' ' } } }, 'MRec' => { '008' => { 'BKS' => {:start => 38, :len => 3, :def => ' ' }, 'SER' => {:start => 38, :len => 3, :def => ' ' }, 'VIS' => {:start => 38, :len => 3, :def => ' ' }, 'MIX' => {:start => 38, :len => 3, :def => ' ' }, 'MAP' => {:start => 38, :len => 3, :def => ' ' }, 'SCO' => {:start => 38, :len => 3, :def => ' ' }, 'REC' => {:start => 38, :len => 3, :def => ' ' }, 'COM' => {:start => 38, :len => 3, :def => ' ' } } }, 'DtSt' => { '008' => { 'BKS' => {:start => 6, :len => 1, :def => ' ' }, 'SER' => {:start => 6, :len => 1, :def => 'c' }, 'VIS' => {:start => 6, :len => 1, :def => ' ' }, 'MIX' => {:start => 6, :len => 1, :def => ' ' }, 'MAP' => {:start => 6, :len => 1, :def => ' ' }, 'SCO' => {:start => 6, :len => 1, :def => ' ' }, 'REC' => {:start => 6, :len => 1, :def => ' ' }, 'COM' => {:start => 6, :len => 1, :def => ' ' }, } }, 'Type' => { 'ldr' => { 'BKS' => {:start => 6, :len => 1, :def => 'a' }, 'SER' => {:start => 6, :len => 1, :def => 'a' }, 'VIS' => {:start => 6, :len => 1, :def => 'g' }, 'MIX' => {:start => 6, :len => 1, :def => 'p' }, 'MAP' => {:start => 6, :len => 1, :def => 'e' }, 'SCO' => {:start => 6, :len => 1, :def => 'c' }, 'REC' => {:start => 6, :len => 1, :def => 'i' }, 'COM' => {:start => 6, :len => 1, :def => 'm' }, } }, 'Ctrl' => { 'ldr' => { 'BKS' => {:start => 8, :len => 1, :def => ' ' }, 'SER' => {:start => 8, :len => 1, :def => ' ' }, 'VIS' => {:start => 8, :len => 1, :def => ' ' }, 'MIX' => {:start => 8, :len => 1, :def => ' ' }, 'MAP' => {:start => 8, :len => 1, :def => ' ' }, 'SCO' => {:start => 8, :len => 1, :def => ' ' }, 'REC' => {:start => 8, :len => 1, :def => ' ' }, 'COM' => {:start => 8, :len => 1, :def => ' ' }, } }, 'BLvl' => { 'ldr'=> { 'BKS' => {:start => 7, :len => 1, :def => 'm' }, 'SER' => {:start => 7, :len => 1, :def => 's' }, 'VIS' => {:start => 7, :len => 1, :def => 'm' }, 'MIX' => {:start => 7, :len => 1, :def => 'c' }, 'MAP' => {:start => 7, :len => 1, :def => 'm' }, 'SCO' => {:start => 7, :len => 1, :def => 'm' }, 'REC' => {:start => 7, :len => 1, :def => 'm' }, 'COM' => {:start => 7, :len => 1, :def => 'm' }, } }, 'Desc' => { 'ldr' => { 'BKS' => {:start => 18, :len => 1, :def => ' ' }, 'SER' => {:start => 18, :len => 1, :def => ' ' }, 'VIS' => {:start => 18, :len => 1, :def => ' ' }, 'MIX' => {:start => 18, :len => 1, :def => ' ' }, 'MAP' => {:start => 18, :len => 1, :def => ' ' }, 'SCO' => {:start => 18, :len => 1, :def => ' ' }, 'REC' => {:start => 18, :len => 1, :def => ' ' }, 'COM' => {:start => 18, :len => 1, :def => ' ' }, } }, 'ELvl' => { 'ldr' => { 'BKS' => {:start => 17, :len => 1, :def => ' ' }, 'SER' => {:start => 17, :len => 1, :def => ' ' }, 'VIS' => {:start => 17, :len => 1, :def => ' ' }, 'MIX' => {:start => 17, :len => 1, :def => ' ' }, 'MAP' => {:start => 17, :len => 1, :def => ' ' }, 'SCO' => {:start => 17, :len => 1, :def => ' ' }, 'REC' => {:start => 17, :len => 1, :def => ' ' }, 'COM' => {:start => 17, :len => 1, :def => ' ' }, } }, 'TMat' => { '008' => { 'VIS' => {:start => 33, :len => 1, :def => ' ' }, }, '006' => { 'VIS' => {:start => 16, :len => 1, :def => ' ' }, } }, } end |