Sha256: 2e3e7e3ec9b6c6c8735dc41c0a2244e3cc20c5d7b3b77e4307bc987f0829923c
Contents?: true
Size: 383 Bytes
Versions: 5
Compression:
Stored size: 383 Bytes
Contents
covers 'facets/array/traverse' test_case Array do method :traverse do test do a = ["A", "B", ["X", "Y"]] g = a.traverse{ |e| e.downcase } g.assert == ["a", "b", ["x", "y"]] end end method :traverse! do test do a = ["A", "B", ["X", "Y"]] a.traverse!{ |e| e.downcase } a.assert == ["a", "b", ["x", "y"]] end end end
Version data entries
5 entries across 5 versions & 2 rubygems