Sha256: cc43d485ed73cccef7be47082c5a98efdd6997e69c14914d77eb67a289e17803
Contents?: true
Size: 234 Bytes
Versions: 3
Compression:
Stored size: 234 Bytes
Contents
# Test for facets/hash/at require 'facets/hash/at.rb' require 'test/unit' class TestHashAt < Test::Unit::TestCase def test_at h = { :a=>1, :b=>2 } assert_equal( 1, h.at(:a) ) assert_equal( 2, h.at(:b) ) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
facets-2.2.0 | test/unit/hash/test_at.rb |
facets-2.3.0 | test/core/hash/test_at.rb |
facets-2.2.1 | test/unit/hash/test_at.rb |