On Fri, Jul 9, 2010 at 05:28, Frederick Cheung
<[email protected]> wrote:
> For what it's worth, reject{|q| q.nil?} is the same as compact
... if the collection is an Array. Without more context, I don't know
if that's so. The compact method is on that, not Enumerable.
-Dave
--
Specialization is for insects. | Professional: http://davearonson.com
-Robert Anson Heinlein | Programming: http://codosaur.us
-------------------------------+ Leadership: http://dare2xl.com
Have Pun, Will Babble! -me | Other: http://davearonson.net
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.