Sha256: 07241f66235d3ddfbe197733120126a9c2337585ffd49995106898ebf13cbc3f
Contents?: true
Size: 485 Bytes
Versions: 26
Compression:
Stored size: 485 Bytes
Contents
module Foobara module Callback class Block module Concerns module SingleArgumentBlock private def validate_original_block! super if has_keyword_args? # :nocov: raise ArgumentError, "Expect #{type} block to only receive one or zero arguments. It cannot take keyword arguments." # :nocov: end end end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems