• Not in ruby, the for loop was initially put there to make it friendly for people from other languages and is discouraged. It’s just syntax sugar on top of each.

    By shortand version I meant

    array.each(&:to_s)
    

    (although in this case I’m not calling puts anymore)

    edit: lemmy keeps putting the & there, but you know what I mean