Sha256: 96c3948ba0440ff465d0d948c55248556ebef560eb30300e3e045cac6d6ebe92
Contents?: true
Size: 512 Bytes
Versions: 1
Compression:
Stored size: 512 Bytes
Contents
# encoding: utf-8 module Mail module Encodings class SevenBit < EightBit NAME = '7bit' PRIORITY = 1 # 7bit and 8bit operate the same # Decode the string def self.decode(str) super end # Encode the string def self.encode(str) super end # Idenity encodings have a fixed cost, 1 byte out per 1 byte in def self.cost(str) super end Encodings.register(NAME, self) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mail-2.1.5 | lib/mail/encodings/7bit.rb |