Sha256: fac68f4ad6cb9b51e14cb633a37e17cdd563cd47673cf8c8e6dccd4b0652a505
Contents?: true
Size: 625 Bytes
Versions: 1
Compression:
Stored size: 625 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/yore/annattr.rb # # Extracted Fri Feb 16 02:00:37 EST 2007 # Project.rb Test Extraction # require 'facets/yore/annattr.rb' require 'test/unit' class TC01 < Test::Unit::TestCase class A attr_accessor :x, :cast=>"to_s" end def test_09_001 a = A.new assert_equal( [:x], A.attributes ) end end class TC10 < Test::Unit::TestCase class A attr :x, :cast=>"to_s" end def test_10_001 assert_equal( "to_s", A.ann.x.cast ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.8.49 | test/lib/facets/yore/test_annattr.rb |