Sha256: 143ebcd492cacd6ff7f380bc263113fc51d1e7ab03da4fee5aa0a5fbf501d3bf

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

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

Mail::StructuredField.prepend Mail::Jdec::StructuredFieldPatch

Version data entries

1 entries across 1 versions & 1 rubygems

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