Sha256: ba07c4cc357f9d9fd2257f06f613f2b14c762f1eb149ada8756f72ff864cc7f6
Contents?: true
Size: 339 Bytes
Versions: 1
Compression:
Stored size: 339 Bytes
Contents
# frozen_string_literal: true module Mail module Jdec module BodyPatch def decoded super rescue Mail::UnknownEncodingType => e if Jdec.enabled? Jdec::Decoder.force_utf8(raw_source) else raise e end end end end end Mail::Body.prepend Mail::Jdec::BodyPatch
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mail-jdec-1.2.0 | lib/mail/jdec/body_patch.rb |