Exception: Composable::Core::RecordInvalid::ErrorWithRecord
- Inherits:
-
Exception
- Object
- Exception
- Composable::Core::RecordInvalid::ErrorWithRecord
- Defined in:
- lib/composable/core/record_invalid.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(record) ⇒ ErrorWithRecord
constructor
A new instance of ErrorWithRecord.
Constructor Details
#initialize(record) ⇒ ErrorWithRecord
Returns a new instance of ErrorWithRecord.
12 13 14 |
# File 'lib/composable/core/record_invalid.rb', line 12 def initialize(record) @record = record end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
10 11 12 |
# File 'lib/composable/core/record_invalid.rb', line 10 def record @record end |