Sha256: 9aebb09d22ab48c4c17d354e1823633663eb93ae6df7845f2774a8a5ae0b56c7
Contents?: true
Size: 520 Bytes
Versions: 1
Compression:
Stored size: 520 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/module/wrap_method.rb # # Extracted Fri Mar 24 23:42:50 UTC 2006 # Unit Tools Reap Test Extractor # require 'facets/core/module/wrap_method.rb' require 'test/unit' class TCModule < Test::Unit::TestCase def fixture_method; "A"; end wrap_method( :fixture_method ) { |old| old.call + "B" } def test_wrap_method assert_equal( "AB", fixture_method ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.2.1 | test/lib/facets/core/module/test_wrap_method.rb |