Exception: MARC::AlephSequential::Error

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/marc_alephsequential/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(record_id, line_number) ⇒ Error


7
8
9
10
# File 'lib/marc_alephsequential/error.rb', line 7

def initialize(record_id, line_number)
  @record_id   = record_id
  @line_number = line_number
end

Instance Attribute Details

#line_numberObject

Returns the value of attribute line_number


5
6
7
# File 'lib/marc_alephsequential/error.rb', line 5

def line_number
  @line_number
end

#record_idObject

Returns the value of attribute record_id


5
6
7
# File 'lib/marc_alephsequential/error.rb', line 5

def record_id
  @record_id
end