Exception: FilterRename::IndexOutOfRange
- Inherits:
-
StandardError
- Object
- StandardError
- FilterRename::IndexOutOfRange
- Defined in:
- lib/filter_rename/utils.rb
Overview
Index out of range error.
Instance Method Summary collapse
-
#initialize(values) ⇒ IndexOutOfRange
constructor
A new instance of IndexOutOfRange.
Constructor Details
#initialize(values) ⇒ IndexOutOfRange
Returns a new instance of IndexOutOfRange.
366 367 368 |
# File 'lib/filter_rename/utils.rb', line 366 def initialize(values) super("Invalid index '#{values[0]}' out of the range 1..#{values[1]}, -#{values[1]}..-1") end |