Exception: FilterRename::IndexOutOfRange

Inherits:
StandardError
  • Object
show all
Defined in:
lib/filter_rename/utils.rb

Overview

Index out of range error.

Instance Method Summary collapse

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