class method self.unquote_quoted_printable_and_convert_to

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

self.unquote_quoted_printable_and_convert_to(text, to, from, preserve_underscores=false)

No documentation comment.

Parameters

text req
to req
from req
preserve_underscores opt = false
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb, line 85
      def unquote_quoted_printable_and_convert_to(text, to, from, preserve_underscores=false)
        text = text.gsub(/_/, " ") unless preserve_underscores
        text = text.gsub(/\r\n|\r/, "\n") # normalize newlines
        convert_to(text.unpack("M*").first, to, from)
      end

Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb line 85 · View on GitHub · Improve this page · Find usages on GitHub

Defined in TMail::Unquoter

Type at least 2 characters to search.

↑↓ navigate · open · esc close