Module: ActionMailer::Utils

Included in:
Base, Part
Defined in:
lib/action_mailer/utils.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#normalize_new_lines(text) ⇒ Object



3
4
5
# File 'lib/action_mailer/utils.rb', line 3

def normalize_new_lines(text)
  text.to_s.gsub(/\r\n?/, "\n")
end