Sha256: 3fa437af5c15d1b91e31f0261b3fee8de9020bf58111b1d8f8b363010dff1858

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

module Mail
  module Jdec
    module EncodingsPatch
      def value_decode(str)
        if Jdec.enabled?
          Jdec::ValueDecoder.value_decode(str)
        else
          super
        end
      end
    end
  end
end

Mail::Encodings.singleton_class.prepend Mail::Jdec::EncodingsPatch

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mail-jdec-1.2.0 lib/mail/jdec/encodings_patch.rb