aboutsummaryrefslogblamecommitdiffstats
path: root/actionmailer/lib/action_mailer/utils.rb
blob: 552f695a9288766636e4c3e241887ca86b2aac77 (plain) (tree)
1
2
3
4
5
6
7
8







                                        
module ActionMailer
  module Utils #:nodoc:
    def normalize_new_lines(text)
      text.to_s.gsub(/\r\n?/, "\n")
    end
    module_function :normalize_new_lines
  end
end