Sha256: ffeb1a0a59ab2eb85241032bb64aaa380b971c01830889e5671aed5927fb2327
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/module/revisal.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/module/revisal.rb' require 'test/unit' class TCModule < Test::Unit::TestCase module M def x ; 1 ; end end class C include M.revisal { rename :y, :x } end def test_001 c = C.new assert_raises( NoMethodError ) { c.x } assert_equal( 1, c.y ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-0.9.0 | test/lib/nano/module/test_revisal.rb |