From: Tim Hunter Date: 2007-11-17T23:08:50+09:00 Subject: Re: Observe variable set and variable change saladin.mundi@gmx.de wrote: > Hey folks, > > is there any kind of Ruby / C function with which it is possible to see when a variable is set or changed? > > Something like: > > class x > > def y() > z = 42 > z = 100 > end > end > > So that a function takes care about setting the 42 and another for caring about changing the value of z to 100? > > thanks in advance > > sala > -- RMagick: http://rmagick.rubyforge.org/