Exception: Lexoranking::RankingScopeNotValid

Inherits:
LexorankingError show all
Defined in:
lib/lexoranking/errors.rb

Overview

RankingScopeNotValid class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, record = nil) ⇒ RankingScopeNotValid

Returns a new instance of RankingScopeNotValid.



11
12
13
14
# File 'lib/lexoranking/errors.rb', line 11

def initialize(message=nil, record=nil)
  @record = record
  super(message)
end

Instance Attribute Details

#recordObject (readonly)

Returns the value of attribute record.



9
10
11
# File 'lib/lexoranking/errors.rb', line 9

def record
  @record
end