Sha256: d7bc37930f9efbefd196aa4b2afb6bb3605ad0167159a1a752fcd2a20e8bd73f

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module Mail
  module Jdec
    module UnstructuredFieldPatch
      def initialize(name = nil, value = nil, charset = nil)
        value = Decoder.decode_if_needed(value) if Jdec.enabled?
        super
      end
    end
  end
end

Mail::UnstructuredField.prepend Mail::Jdec::UnstructuredFieldPatch

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mail-jdec-1.2.0 lib/mail/jdec/fields/unstructured_field_patch.rb