From: Roger Pack on 9 Oct 2009 14:31 Since there's an Array#reject, shouldn't there be an Array#accept? -r -- Posted via http://www.ruby-forum.com/.
From: 7stud -- on 9 Oct 2009 14:36 Roger Pack wrote: > Since there's an Array#reject, shouldn't there be an Array#accept? > -r It's called Array#select. -- Posted via http://www.ruby-forum.com/.
From: yermej on 9 Oct 2009 14:40 On Oct 9, 1:31 pm, Roger Pack <rogerpack2...(a)gmail.com> wrote: > Since there's an Array#reject, shouldn't there be an Array#accept? Maybe, but there's Array#select instead.
|
Pages: 1 Prev: unicorn 0.93.2 - more compatible with Rails Next: Net:HTTP Timeout Bug |