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.

Required Ruby Version

>= 1.9

Authors

Maxwell Nana Forson

Versions

  1. 0.0.3
    1. source

      1. 0.0.3 source March 26, 2025 (5.5 KB)
  2. 0.0.1
    1. source

      1. 0.0.1 source March 23, 2025 (4.5 KB)
Show all versions (3 total)

SHA 256 checksum