On 1/3/07, David Weldon <dweldon / gmail.com> wrote:
> Trans wrote:
> > But youre calling store from the subclass.
>
> I gather what you mean is that o.dave=1 is executed from the context of
> a SubFoo and not from the context of a Foo. I guess thats how Ruby works
> but it doesn't seem intuitive to me because I'm not sure the equivalent
> code would work in other languages I'm familiar with - namely Java and
> C++.

Ruby != Java && Ruby != C

Jacob Fugal