From: "David A. Black" Date: 2009-07-20T07:29:16+09:00 Subject: Re: removing array duplicates where a subset is unique Hi -- On Mon, 20 Jul 2009, 7stud -- wrote: > David A. Black wrote: >> I'm not sure what that buys you, though. > > Simplicity of comprehension over brevity. I guess I like the ||= idiom because it has both. But the if statement will definitely work, of course. David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Now available: The Well-Grounded Rubyist (http://manning.com/black2) Training! Intro to Ruby, with Black & Kastner, September 14-17 (More info: http://rubyurl.com/vmzN)