Sha256: ea76e0e46a8552359a40c6536212f711ff7f4825c955187cc5c258b437518a3d

Contents?: true

Size: 207 Bytes

Versions: 7

Compression:

Stored size: 207 Bytes

Contents

== Integer#of

    require 'facets/integer/of'

    a = 4
    b = a.of{ |i| i*2 }
    b.assert == [0,2,4,6]

== Integer#times_collect

    a = 4
    b = a.times_collect{ |i| i*2 }
    b.assert == [0,2,4,6]

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
facets-3.0.0 demo/core/integer/of.rdoc
facets-2.9.3 qed/core/integer/of.rdoc
facets-2.9.2 qed/core/integer/of.rdoc
facets-2.9.1 qed/core/integer/of.rdoc
facets-2.9.0 qed/core/integer/of.rdoc
facets-2.9.0.pre.2 qed/core/integer/of.rdoc
facets-2.9.0.pre.1 qed/core/integer/of.rdoc