mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
9 lines
173 B
Ruby
9 lines
173 B
Ruby
|
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
|