Sha256: 82de75e6df047daee4a4b626c2edc9bec9010671de220287557a2abc3e96e51f
Contents?: true
Size: 417 Bytes
Versions: 26
Compression:
Stored size: 417 Bytes
Contents
module Foobara module Callback class Block module Concerns module BlockParameterRequired private def validate_original_block! super unless takes_block? # :nocov: raise ArgumentError, "#{type} callback must take a block argument" # :nocov: end end end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems