Sha256: 7c9410ab61f93876a02adc2aea9311feb340703dacadd560eb3c8a135db06dcd
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/module/revisal.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # require 'facets/core/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-1.8.49 | test/lib/facets/core/module/test_revisal.rb |