Juozas Gaigalas wrote:
> I'm looking for a simple and short solution/library that does this:
(snip)
> ----OUTPUT----
> Array a changed
> x
> Array a changed
> y

Check out the Observable class in the standard library.

-- 
Posted via http://www.ruby-forum.com/.