Sha256: db2c204f16904e40518302c8938f8abc5ea1db4db71bbc16cbf87bdb85c2e946

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module Mail
  module Jdec
    module FieldListPatch
      def insert_field(field)
        if Mail::Jdec.enabled? && Mail::Jdec.config.keep_field_order
          push field
        else
          super
        end
      end
    end
  end
end

Mail::FieldList.prepend Mail::Jdec::FieldListPatch

Version data entries

1 entries across 1 versions & 1 rubygems

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