Sha256: a0f5d6a1ff77e38c42475e508fa29b447503671cd325ee8f26a5fa4089b1346e
Contents?: true
Size: 650 Bytes
Versions: 3
Compression:
Stored size: 650 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ | # |_|\___||___/\__| # # for lib/facets/attributes.rb # # Extracted Mon Sep 03 16:23:08 -0700 2007 # w/ Test Extraction Ratchet # require 'facets/attributes.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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
facets-2.0.0 | test/unit/test_attributes.rb |
facets-2.0.1 | test/unit/test_attributes.rb |
facets-2.0.2 | test/unit/test_attributes.rb |