Exception: SimpleRecord::RecordInvalid
- Inherits:
-
SimpleRecordError
- Object
- StandardError
- SimpleRecordError
- SimpleRecord::RecordInvalid
- Defined in:
- lib/simple_record/errors.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(record) ⇒ RecordInvalid
constructor
A new instance of RecordInvalid.
Constructor Details
#initialize(record) ⇒ RecordInvalid
Returns a new instance of RecordInvalid.
11 12 13 |
# File 'lib/simple_record/errors.rb', line 11 def initialize(record) @record = record end |
Instance Attribute Details
#record ⇒ Object
Returns the value of attribute record.
9 10 11 |
# File 'lib/simple_record/errors.rb', line 9 def record @record end |