Sha256: d50fcd6813cce69013162173a1e4985deb50c90e1899d51c50f2dea5c68c17c3

Contents?: true

Size: 224 Bytes

Versions: 1

Compression:

Stored size: 224 Bytes

Contents

# frozen_string_literal: true

module Kind
  module WRONG_NUMBER_OF_ARGS
    def self.error!(given:, expected:)
      raise ArgumentError, "wrong number of arguments (given #{given}, expected #{expected})"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kind-4.1.0 lib/kind/core/wrong_number_of_args.rb