Sha256: 4adb59d5fd377d420dab26ac1c737170ec7e7b1c86de9e93ac7af44d116b803a

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 Bytes

Contents

## Array#merge

    require 'facets/array/merge'

    a = [1,2,3]
    b = [3,4,5]
    a.merge(b).assert == [1,2,3,4,5]

## Array#merge!

    a = [1,2,3]
    b = [3,4,5]
    a.merge!(b)
    a.assert == [1,2,3,4,5]

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 demo/core/array/merge.md
facets-3.1.0 demo/core/array/merge.md