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:
=

installation:
=

Versions:

  1. 0.0.3 March 26, 2025 (5,5 ko)
  2. 0.0.1 March 23, 2025 (4,5 ko)
Voir toutes les versions (3)

Propriétaires:

Pushed by:

Auteurs:

  • Maxwell Nana Forson

Total de contrôle SHA 256:

=

Total de téléchargements 294

Pour cette version 133

Version publiée:

License:

MIT

Version de Ruby requise: >= 1.9

Liens: