Sha256: 6bfb1694b63e55edf29df49791da23f116d5002c972b77d7652039a28a341d1f
Contents?: true
Size: 222 Bytes
Versions: 13
Compression:
Stored size: 222 Bytes
Contents
require 'minitest/autorun' require 'shenanigans/kernel/with' class With < MiniTest::Unit::TestCase def test_with result = with([]) do |a| a << "a" a << "b" end assert result == %w(a b) end end
Version data entries
13 entries across 13 versions & 1 rubygems