Exception: Lexoranking::RankingScopeNotValid
- Inherits:
-
LexorankingError
- Object
- StandardError
- LexorankingError
- Lexoranking::RankingScopeNotValid
- Defined in:
- lib/lexoranking/errors.rb
Overview
RankingScopeNotValid class
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(message = nil, record = nil) ⇒ RankingScopeNotValid
constructor
A new instance of RankingScopeNotValid.
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(=nil, record=nil) @record = record super() end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
9 10 11 |
# File 'lib/lexoranking/errors.rb', line 9 def record @record end |