(str.nil? || str.empty?) の手抜き構文に
str.to_s.empty? なんか使ってたりもしたんだけどなぁ。

あと、Array#joinも使いにくくなるなぁ。inject使わなくちゃ。