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.

gem install array-hooked
INSTALL
IMPORT
SIG · ARRAY-HOOKED
A
array-hooked
utilityrubyv1.1.4
harness data pending
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.

Array::Hooked
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 issues

No known issues recorded.

Upgrade
Version history
1.1.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
2
Meta
1
Resources
array-hooked — gem install array-hooked · libregistry