A Ruby Cheatsheet For Arrays

A reference for beginners and forgetful professionals

Mike Cronin
ITNEXT
Published in
7 min readAug 15, 2019

--

Simply put, before you lies a metric ton of handy Ruby Array methods. It’s long, but I tried to include all the really useful stuff. When a method is used, be sure to check the docs for more info. And to keep things shorter, I’ll write return values in comments, so arr # -> "stuff" means that the return value for arr is…

--

--

I’m Mostly Focused on JS and web development, but anything coding related is fair game