Sha256: 178801e537197e9dd7edc4b74117afbde60069873527f75e0972ef926ddac29d

Contents?: true

Size: 412 Bytes

Versions: 4

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Utils
    module Array
      module Exceptions
        class NonIntegerIndex < ::ConvenientService::Exception
          def initialize_with_kwargs(index:)
            message = <<~TEXT
              Index `#{index.inspect}` is NOT an integer.
            TEXT

            initialize(message)
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/utils/array/exceptions.rb
convenient_service-0.19.0 lib/convenient_service/utils/array/exceptions.rb
convenient_service-0.18.0 lib/convenient_service/utils/array/exceptions.rb
convenient_service-0.17.0 lib/convenient_service/utils/array/exceptions.rb