Sha256: cb94b7744f7e7f2b33012ebdfc4988e9772b0a20d5c801332054295a4a1929e9
Contents?: true
Size: 508 Bytes
Versions: 1
Compression:
Stored size: 508 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/module/wrap_method.rb # # Extracted Wed Jan 25 11:25:39 EST 2006 # Unit Tools Reap Test Extractor # require 'facet/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.0.3 | packages/core/test/lib/facet/module/test_wrap_method.rb |