RubyGems Navigation menu

array_utils 0.0.1

The default Ruby Array class allows inserting into an array at an that doesn't exist. For example, a user may do this `array[2938] = 48` when the array contains only about six (6) elements. This causes the the array to now contain 2,000 plus of nil elements. The goal is to avoid this by intelligently appending to the end of the array when such action is performed. Also, invalid negative indexes will throw an `IndexError` exception as usual. There are other useful methods added on top of the Array class for common tasks.

Gemfile:
=

install:
=

Versions:

  1. 0.0.3 March 26, 2025 (5.5 KB)
  2. 0.0.1 March 23, 2025 (4.5 KB)
Show all versions (3 total)

Owners:

Pushed by:

Authors:

  • Maxwell Nana Forson

SHA 256 checksum:

=

Total downloads 293

For this version 133

Version Released:

License:

MIT

Required Ruby Version: >= 1.9

Links: