From: David Alan Black Date: 2002-07-06T06:21:24+09:00 Subject: Re: is there a better string.each? Hi -- On Sat, 6 Jul 2002, Tobias Reif wrote: > Returning an object of the parent or child class is not contradicting > that relationship. If a string is a special case of an array and is > modeled as a subclass, then an array can still return a string and vice > versa. (or did I misunderstand you) You did understand: I was flagging the design issue (the backwards/circular dependency) of having the parent class "know" about the child class. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav