Sha256: b60bd7a3c6859766fbf511cb56a37a05fb5f036bc3a3847ef83f11703aa45624
Contents?: true
Size: 202 Bytes
Versions: 5
Compression:
Stored size: 202 Bytes
Contents
require 'abstract_unit' class ObjectExtTest < Test::Unit::TestCase def test_tap_yields_and_returns_self foo = Object.new assert_equal foo, foo.tap { |x| assert_equal foo, x; :bar } end end
Version data entries
5 entries across 5 versions & 3 rubygems