Sha256: dc58ff34b784d1e5c381e4e740393e14904a1d0e24c0726074db9d0c49b05620
Contents?: true
Size: 285 Bytes
Versions: 4
Compression:
Stored size: 285 Bytes
Contents
# frozen_string_literal: true module Micro module Attributes module Utils ARGUMENT_ERROR_MSG = 'argument must be a Hash' def self.hash_argument!(arg) return arg if arg.is_a?(Hash) raise ArgumentError, ARGUMENT_ERROR_MSG end end end end
Version data entries
4 entries across 4 versions & 1 rubygems