Module: Rexlite::MIME::Encoding
Overview
Set of helpers methods to deal with SMTP encoding related topics.
Instance Method Summary collapse
-
#force_crlf(data) ⇒ String
Enforces CRLF on the input data.
Instance Method Details
#force_crlf(data) ⇒ String
Enforces CRLF on the input data
11 12 13 |
# File 'lib/nexpose/rexlite/mime/encoding.rb', line 11 def force_crlf(data) data.gsub("\r", '').gsub("\n", "\r\n") end |