From: Farrel Lifson Date: 2006-10-20T20:04:35+09:00 Subject: Re: Neewby question: how to monitor a variable value On 20/10/06, Luc Juggery wrote: > Hello All, > > I remember reading in a book that we could very easily monitor the > value of a variable and have for instance an alert message displayed > each time this variable s modified. I do not manage to find how to do > this anymore. > Would you have any clues ? > > Thanks a lot, > Luc Sounds like you need the observer design pattern: http://wiki.rubygarden.org/Ruby/page/show/ObserverPattern Farrel