Class: MARC::AlephSequential::ErrorRecord
- Inherits:
-
Record
- Object
- Record
- MARC::AlephSequential::ErrorRecord
- Defined in:
- lib/marc_alephsequential/reader.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ ErrorRecord
constructor
A new instance of ErrorRecord.
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
#error ⇒ Object
Returns the value of attribute error.
19 20 21 |
# File 'lib/marc_alephsequential/reader.rb', line 19 def error @error end |