Sha256: 6ebe76428cce50b12f1a26099e842bf87a35a26a939ddd921eb97ca6d683cdf0
Contents?: true
Size: 520 Bytes
Versions: 1
Compression:
Stored size: 520 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/module/wrap_method.rb # # Extracted Tue Jun 06 09:30:19 EDT 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.4.1 | test/lib/facets/core/module/test_wrap_method.rb |