Making Ruby Yours

Pulling at a Loose Thread
One day I noticed an inconsistency as I was joining together lists of words. Consider this no-delimiter join:
arr = [ [‘some’, ‘lists’], [‘of’, ‘different’, ‘words’] ]
arr.map(&:join) # => [‘somelists’, ‘ofdifferentwords’]
It’s point-free and clean, aside from the funny ampersand.

Link: https://dzone.com/articles/making-ruby-yours?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev