Class: Mail::Encodings::SevenBit

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

Direct Known Subclasses

Base64, QuotedPrintable

Constant Summary collapse

NAME =
'7bit'
PRIORITY =
1

Class Method Summary collapse

Methods inherited from TransferEncoding

can_encode?, can_transport?, 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



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

def self.cost(str)
  super 
end

.decode(str) ⇒ Object

Decode the string



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

def self.decode(str)
  super
end

.encode(str) ⇒ Object

Encode the string



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

def self.encode(str)
  super
end