From: Robert Klemme Date: 2007-10-31T16:55:10+09:00 Subject: Re: find the closest items in an array to a given value. 2007/10/29, David A. Black : > Hi -- > > On Tue, 30 Oct 2007, Robert Klemme wrote: > > > PS: A nice task for #inject. :-) > > Is that your .sig? :-) Not until now. Thanks for the inspiration! Cheers robert -- use.inject do |as, often| as.you_can - without end