Remove newline escape before method - (ruby1.8)