I read through the ruby docs examples but I'm still not sure what is happening in this code:
sentence = "How are you?"
sentence.chars.reduce do |memo, char|
%w[a e i o u y].include?(char) ? memo + char * 5 : memo + char
end
What is the memo when the block of code is first executed? What do the subsequent 5 steps look like?