Sha256: 08a5e193fa145d35cb7f95628b688a992911c0bceb369517d95e0f2836acb4be
Contents?: true
Size: 220 Bytes
Versions: 4
Compression:
Stored size: 220 Bytes
Contents
covers 'facets/hash/update_each' testcase Hash do unit :update_each do a = { :a => 1, :b => 2, :c => 3 } x = { :a => 2, :b => 3, :c => 4 } a.update_each{ |k,v| { k => v+1 } } a.assert == x end end
Version data entries
4 entries across 4 versions & 1 rubygems