Sha256: ff2c96e188dcc3ed84fac93f70f9dcded52ed36d3755c9838194e1976bafbac9
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/module/rename_method.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # require 'facets/core/module/rename_method.rb' require 'test/unit' class TCModule < Test::Unit::TestCase def a; "A" ; end rename_method :b, :a def test_rename_method assert( ! respond_to?( :a ) ) assert( respond_to?( :b ) ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.8.49 | test/lib/facets/core/module/test_rename_method.rb |