Hacker News new | past | comments | ask | show | jobs | submit login

That’s an alias for `find_all`.



I'm aware of that. I prefer the *ect methods only because they've always seemed to be more popular amongst Rubyists.


That's one beautiful thing about Ruby. There's not just one way to do it, which means that .select and .find_all may be aliases but both are valid and will show up, depending on the author's preference.


Honestly, that sounds like a nightmare to me!


I love Ruby, but I agree. It creates unnecessary ambiguity.

Reads nicer sometimes, sure.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: