Exception: Lexoranking::ModelDoNotExists
- Inherits:
-
LexorankingError
- Object
- StandardError
- LexorankingError
- Lexoranking::ModelDoNotExists
- Defined in:
- lib/lexoranking/errors.rb
Overview
ModelDoNotExists class
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(message = nil, record = nil) ⇒ ModelDoNotExists
constructor
A new instance of ModelDoNotExists.
Constructor Details
#initialize(message = nil, record = nil) ⇒ ModelDoNotExists
Returns a new instance of ModelDoNotExists.
21 22 23 24 |
# File 'lib/lexoranking/errors.rb', line 21 def initialize(=nil, record=nil) @record = record super() end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
19 20 21 |
# File 'lib/lexoranking/errors.rb', line 19 def record @record end |