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.5 KB)
  2. 0.0.1 March 23, 2025 (4.5 KB)
顯示所有版本(共 3)

擁有者:

推送者:

作者:

  • Maxwell Nana Forson

SHA 256 總和檢查碼:

=

總下載次數 295

這個版本 134

版本发布:

授權:

MIT

Ruby 版本需求: >= 1.9

相關連結: