Exception: Zermelo::Records::Errors::RecordNotSaved
- Inherits:
-
ZermeloError
- Object
- RuntimeError
- ZermeloError
- Zermelo::Records::Errors::RecordNotSaved
- Defined in:
- lib/zermelo/records/errors.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(r) ⇒ RecordNotSaved
constructor
A new instance of RecordNotSaved.
Constructor Details
#initialize(r) ⇒ RecordNotSaved
Returns a new instance of RecordNotSaved.
37 38 39 |
# File 'lib/zermelo/records/errors.rb', line 37 def initialize(r) @record = r end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
35 36 37 |
# File 'lib/zermelo/records/errors.rb', line 35 def record @record end |