Satisfy rubocop: 'Pass &:text as an argument to map instead of a block.'