Sha256: bec962b99fbb1b22495e50e434b49a2a67cf34ce11c44186d6cb0e254b2b448e
Contents?: true
Size: 847 Bytes
Versions: 28
Compression:
Stored size: 847 Bytes
Contents
{ "schema_type": "object", "schema_version": "1.0", "name": "split_by", "path": "packages/ree_array/package/ree_array/functions/split_by.rb", "mount_as": "fn", "class": "ReeArray::SplitBy", "factory": null, "methods": [ { "doc": "Divides the array into one or more subarrays based on a delimiting +value+\nor the result of an optional block.\n\nsplit([1, 2, 3, 4, 5], 3) # => [[1, 2], [4, 5]]\nsplit((1..10).to_a) { |i| i % 3 == 0 } # => [[1, 2], [4, 5], [7, 8], [10]]", "throws": [ ], "return": "ArrayOf[Any]", "args": [ { "arg": "array", "type": "ArrayOf[Any]" }, { "arg": "value", "type": "Any" }, { "arg": "block", "type": "Block" } ] } ], "links": [ ] }
Version data entries
28 entries across 28 versions & 1 rubygems