Class: MARC::AlephSequential::ErrorRecord

Inherits:
Record
  • Object
show all
Defined in:
lib/marc_alephsequential/reader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ ErrorRecord

Returns a new instance of ErrorRecord.



20
21
22
23
# File 'lib/marc_alephsequential/reader.rb', line 20

def initialize(error)
  super()
  self.error = error
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



19
20
21
# File 'lib/marc_alephsequential/reader.rb', line 19

def error
  @error
end