Excerpts from William Morgan's message of Mon Nov 10 00:14:48 -0500 2008:
> Reformatted excerpts from William Morgan's message of 2008-11-09:
> >   sort_by { |c| [ContactManager.contact_for(c) ? 1 : 0, c] }
> 
> Oh, 0 : 1, maybe.

Ah, much cleaner.  Thanks for the ruby lesson.  And, yeah, the correct order is 
0 : 1.

Thanks.
-- 

Steve Goldman
[EMAIL PROTECTED]

T: 212.219.6014
F: 212.219.6007

Tower Research Capital, LLC
377 Broadway, 11th Fl.
New York, NY 10013
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to