Exception: FilterRename::IndexOutOfRange
- Inherits:
-
StandardError
- Object
- StandardError
- FilterRename::IndexOutOfRange
- Defined in:
- lib/filter_rename/utils.rb
Instance Method Summary collapse
-
#initialize(values) ⇒ IndexOutOfRange
constructor
A new instance of IndexOutOfRange.
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 |