Sha256: df5bc89b0276d6d92a356c89d417fc9131d34fef23d3f69c7f595758373ad2ae
Contents?: true
Size: 251 Bytes
Versions: 5
Compression:
Stored size: 251 Bytes
Contents
module Minitest module ErrorOnWarning # :nodoc: def warn message, category: nil message = "[#{category}] #{message}" if category raise UnexpectedWarning, message end end ::Warning.singleton_class.prepend ErrorOnWarning end
Version data entries
5 entries across 5 versions & 1 rubygems