Parent

Methods

Class/Module Index [+]

Quicksearch

Mail::Encodings::QuotedPrintable

Public Class Methods

decode(str) click to toggle source

Decode the string from Quoted-Printable

# File lib/mail/encodings/quoted_printable.rb, line 6
def self.decode(str)
  str.unpack("M*").first
end
encode(str) click to toggle source
# File lib/mail/encodings/quoted_printable.rb, line 10
def self.encode(str)
  str.gsub( /[^a-z ]/ ) { quoted_printable_encode($&) }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.