Sha256: bcfb04c15ddf817fb1b43e9affbc4e5c27b1701718b2e3fd503fe51075a67f20

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

## Array#recurse

    require 'facets/array/recurse'
    
Apply a block to array, and recursively apply that block to each sub-array
or +type+.

    a = ["a", ["b", "c", nil], nil]
    r = a.recurse{|a| a.compact!}
    r.assert == ["a", ["b", "c"]]

Version data entries

2 entries across 2 versions & 2 rubygems

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