From: Brian Candler Date: 2003-02-22T06:26:48+09:00 Subject: Re: Style question: using 'block_given?' > else > result = [self.data] > result << @kids.collect {|k| k.depthFirst} > end Or a bit more minimalist: else [@data] + @kids.collect {|k| k.depthFirst} end This is something you will find about Ruby: you keep thinking of more compact and clear ways to write the same thing. And if you can't think of a compact and clear way of writing it, then you write a class to do that operation for you :-) Regards, Brian.