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

インストール:
=

バージョン履歴:

  1. 0.0.3 March 26, 2025 (5.5KB)
  2. 0.0.1 March 23, 2025 (4.5KB)
全てのバージョンを表示(全3件)

所有者:

プッシュ者:

作者:

  • Maxwell Nana Forson

SHA 256チェックサム:

=

累計ダウンロード数 295

このバージョンのみ 134

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 1.9

リンク: