ruby 1.9 compatibity, String no longer supports each