Class: Mail::Encodings::SevenBit

Inherits:
EightBit show all
Defined in:
lib/mail/encodings/7bit.rb

Direct Known Subclasses

Base64, QuotedPrintable

Constant Summary

NAME =
'7bit'
PRIORITY =
1

Class Method Summary collapse

Methods inherited from EightBit

compatible_input?

Methods inherited from TransferEncoding

can_encode?, can_transport?, compatible_input?, get_best_compatible, to_s, #to_s

Class Method Details

.cost(str) ⇒ Object

Idenity encodings have a fixed cost, 1 byte out per 1 byte in



25
26
27
# File 'lib/mail/encodings/7bit.rb', line 25

def self.cost(str)
  super 
end

.decode(str) ⇒ Object

Decode the string



15
16
17
# File 'lib/mail/encodings/7bit.rb', line 15

def self.decode(str)
  super
end

.encode(str) ⇒ Object

Encode the string



20
21
22
# File 'lib/mail/encodings/7bit.rb', line 20

def self.encode(str)
  super
end