Exception: FilterRename::IndexOutOfRange

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

Instance Method Summary collapse

Constructor Details

#initialize(values) ⇒ IndexOutOfRange

Returns a new instance of IndexOutOfRange.



236
237
238
# File 'lib/filter_rename/utils.rb', line 236

def initialize(values)
  super "Invalid index '#{values[0]}' out of the range 1..#{values[1]}, -#{values[1]}..-1"
end