Sha256: 0bde6be4f478e881f354e18b08dd1c2eb6cc3ebc005498e6eca49e47689e21da
Contents?: true
Size: 233 Bytes
Versions: 1
Compression:
Stored size: 233 Bytes
Contents
require 'minitest/spec' class Minitest::Spec def self.around(&outer) define_method(:around) do |&inner| if outer.arity == 1 outer.call(inner) else inner.call *outer.call end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minitest-around-0.1.0.pre | lib/minitest/around/spec.rb |