Sha256: 320efcdebaca40c4f7ac8f34a625dac23d24ea43c8608054ded4ed738f7d7510
Contents?: true
Size: 272 Bytes
Versions: 5
Compression:
Stored size: 272 Bytes
Contents
covers 'facets/enumerable/mash' test_case Enumerable do method :mash do test "is an alias for #graph" do a = { :a => 1, :b => 2, :c => 3 } e = { :a => 2, :b => 3, :c => 4 } r = a.mash{ |k,v| {k => v+1} } r.assert == e end end end
Version data entries
5 entries across 5 versions & 2 rubygems