lib/convenient_service/utils/array/exceptions.rb in convenient_service-0.16.0 vs lib/convenient_service/utils/array/exceptions.rb in convenient_service-0.17.0

- old
+ new

@@ -3,15 +3,15 @@ module ConvenientService module Utils module Array module Exceptions class NonIntegerIndex < ::ConvenientService::Exception - def initialize(index:) + def initialize_with_kwargs(index:) message = <<~TEXT Index `#{index.inspect}` is NOT an integer. TEXT - super(message) + initialize(message) end end end end end