ダブルクォーテーションの中にダブルクォーテーションがあるのが嫌なんでしょ
その場合はやっぱし
"%04d %-10s : %s"%[num, name, data] しかないだろ
おれには "#{|04d|num} #{|-10s|name} : #{|s|data}" より見やすく感じる