From: Hugh Sasse Staff Elec Eng Date: 2002-02-05T03:06:25+09:00 Subject: Re: Mixins and accessing earlier definitions. On Tue, 5 Feb 2002, Hugh Sasse Staff Elec Eng wrote: > I am beginning to get the feeling that my whole approach to this problem > is counter to the design of Ruby. From the exposure to Ruby's design > that I have had, this suggests that my approach is wrong. Being able to > create new classes by plugging code into them, redefining methods at the > time of plugging in, without having to create a whole tree of subclasses > would seem like a fairly structured approach..... I think I've got there! It was staring me in the face, of course: I should just use load (or require) to pull in the new definitions of my class's methods, because I know which class it will be for -- that remains a constant. That way I can override methods to my heart's content! Hugh