Exception: SoftTrash::RecordNotTrasheded
- Inherits:
-
SoftTrashError
- Object
- StandardError
- SoftTrashError
- SoftTrash::RecordNotTrasheded
- Defined in:
- lib/soft_trash/errors.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(message = nil, record = nil) ⇒ RecordNotTrasheded
constructor
A new instance of RecordNotTrasheded.
Constructor Details
#initialize(message = nil, record = nil) ⇒ RecordNotTrasheded
Returns a new instance of RecordNotTrasheded.
14 15 16 17 |
# File 'lib/soft_trash/errors.rb', line 14 def initialize( = nil, record = nil) @record = record super() end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
12 13 14 |
# File 'lib/soft_trash/errors.rb', line 12 def record @record end |