David Brady <ruby_talk / shinybit.com> wrote:

> What's the cleanup?  Zipping the two arrays together would even be a  
> better solution, I think, thought it makes for uglier code like  
> "#{pair[0]}: #{pair[1]}".

zip takes a block, so you could just do:

   array.zip(array.normalize) { |item, normalized_item| "..." }

-Levin