Magicloud Magiclouds wrote: > Array under .net has some event on content changing. How to do monitor > like this in ruby? gem install chattr allows you to define an array class having a type-checking function that contains the hook you want. You can probably ven replace the regular Array class with your new one. In any case, all the mutating methods of Array make their calls through the type-check block, so you have what you need. Clifford Heath.