From: Austin Ziegler Date: 2004-12-07T08:24:56+09:00 Subject: Re: Freezing Variable Assignment On Mon, 6 Dec 2004 14:32:12 +0900, Joel VanderWerf wrote: > Austin Ziegler wrote: > > On Mon, 6 Dec 2004 11:51:55 +0900, Nicholas Van Weerdenburg > > wrote: > >>It's in the same vein that I think Observable should target a > >>instance variable (an attribute, more generally) of an object, > >>rather than an entire object. > > Why? > It's useful in GUI code, where each control, field, etc. is wired up to > one or more attrs in the window instance, and other related windows can > be wired up to those attrs too, to keep their state synchronized. See, > for instance, foxtails on raa, which uses FXRuby and observable (also on > raa). That observable lib (which should have been called > observable-attr) is just what Nicholas described: it makes attrs observable. That makes sense, and it seems that the observable-attr is the right thing for what he needs there. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca