Exception: Evilution::Compare::InvalidInput Private
- Inherits:
-
StandardError
- Object
- StandardError
- Evilution::Compare::InvalidInput
- Defined in:
- lib/evilution/compare/invalid_input.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #index ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(message, index: nil) ⇒ InvalidInput
constructor
private
A new instance of InvalidInput.
Constructor Details
#initialize(message, index: nil) ⇒ InvalidInput
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of InvalidInput.
8 9 10 11 |
# File 'lib/evilution/compare/invalid_input.rb', line 8 def initialize(, index: nil) super() @index = index end |
Instance Attribute Details
#index ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 |
# File 'lib/evilution/compare/invalid_input.rb', line 6 def index @index end |