Sha256: 00255fc78a1db1e2f64bcfaa200a5d59fdec3d96ee511c6ffc660e5e5e94fd76
Contents?: true
Size: 348 Bytes
Versions: 15
Compression:
Stored size: 348 Bytes
Contents
require 'facets/kernel/instance_assign.rb' require 'test/unit' class TestKernelInstanceAssign < Test::Unit::TestCase def test_instance_assign ahash = { "z"=>0, "@a"=>1, "@b"=>2 } #, "@@a"=>3 } instance_assign( ahash ) assert_equal( 0, @z ) assert_equal( 1, @a ) assert_equal( 2, @b ) #assert_equal( 3, @@a ) end end
Version data entries
15 entries across 15 versions & 1 rubygems