Fix syntax error in ruby 1.8; closes #10