make prettyPrintStackTrace to ruby standards.

just renamed the function to ruby standards. There was one more place where getMessage was passed to to_s