Registry / utility / array-hooked

array-hooked

JSON →
library1.1.4rbrubygemsunverified

A subclass of Array that offers event hooks for pre-insert/pre-set/pre-delete, insert/set/delete operations with implicit reference to a configuration instance.

utilityother
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

require 'array/hooked'

Create a hooked array with an insert event callback.

require 'array/hooked' arr = Array::Hooked.new arr.on_insert { |item| puts "Inserted: #{item}" } arr << 'test'
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
16 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources