Exception: Controlist::NotReuseableError

Inherits:
ControlistError show all
Defined in:
lib/controlist/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, relation = nil)
  @relation = relation
  super(message)
end

Instance Attribute Details

#relationObject (readonly)

Returns the value of attribute relation.



19
20
21
# File 'lib/controlist/errors.rb', line 19

def relation
  @relation
end