From: saladin.mundi@... Date: 2007-11-17T16:55:02+09:00 Subject: Observe variable set and variable change This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C828F7.8B0CE390 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 =3D 42 z =3D 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 ------=_NextPart_000_000B_01C828F7.8B0CE390 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hey folks,
 
is there any kind of Ruby / C function = with which=20 it is possible to see when a variable is set or changed?
 
Something like:
 
class x
 
  def y()
    z =3D = 42
    z =3D = 100
  end
end
 
So that a function takes care about = setting the 42=20 and another for caring about changing the value of z to = 100?
 
thanks in advance
 
sala
 
------=_NextPart_000_000B_01C828F7.8B0CE390--