From: Austin McDonald Date: 2004-06-10T14:28:38+09:00 Subject: Virtual instance-variable accessors When I access an private variable, using @var inside a method, is there any way to capture that using a C extension? Or am I forced to use rb_iv_set/get to keep the ruby instance variable up to date? I would like for @var to call a C function; can this be done? I've looked at CShadow, and it seems like it requires you to use self.var, which I've already figured out how to do. Austin McDonald