method

normalize_new_lines

rails latest stable - Class: ActionMailer::Utils

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

normalize_new_lines(text)
public

No documentation available.

# File actionmailer/lib/action_mailer/utils.rb, line 3
    def normalize_new_lines(text)
      text.to_s.gsub(/\r\n?/, "\n")
    end