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