Sha256: 9473d1807e61292c3a189bd28d56f88ab851ac823e7fea1160f0536f10039c29
Contents?: true
Size: 269 Bytes
Versions: 10
Compression:
Stored size: 269 Bytes
Contents
require 'benchmark' require 'power_assert' def assertion_message(source = nil, source_binding = TOPLEVEL_BINDING, &blk) ::PowerAssert.start(source || blk, assertion_method: __callee__, source_binding: source_binding) do |pa| pa.message unless pa.yield end end
Version data entries
10 entries across 10 versions & 6 rubygems