Exception: Elasticity::Strategies::IndexError
- Inherits:
-
StandardError
- Object
- StandardError
- Elasticity::Strategies::IndexError
- Defined in:
- lib/elasticity/strategies.rb
Instance Attribute Summary collapse
-
#index_base_name ⇒ Object
readonly
Returns the value of attribute index_base_name.
Instance Method Summary collapse
-
#initialize(index_base_name, message) ⇒ IndexError
constructor
A new instance of IndexError.
Constructor Details
#initialize(index_base_name, message) ⇒ IndexError
Returns a new instance of IndexError.
6 7 8 9 |
# File 'lib/elasticity/strategies.rb', line 6 def initialize(index_base_name, ) @index_base_name = index_base_name super("#{index_base_name}: #{}") end |
Instance Attribute Details
#index_base_name ⇒ Object (readonly)
Returns the value of attribute index_base_name.
4 5 6 |
# File 'lib/elasticity/strategies.rb', line 4 def index_base_name @index_base_name end |