Sha256: dcac478a8ebc32d989ffea686cb3f0364686b83fbd82757478b245d24d0103d4

Contents?: true

Size: 385 Bytes

Versions: 11

Compression:

Stored size: 385 Bytes

Contents

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

unless Mail::StructuredField.included_modules.include?(Mail::Jdec::StructuredFieldPatch)
  Mail::StructuredField.prepend Mail::Jdec::StructuredFieldPatch
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mail-jdec-1.0.10 lib/mail/jdec/fields/structured_field_patch.rb
mail-jdec-1.0.9 lib/mail/jdec/fields/structured_field_patch.rb
mail-jdec-1.0.8 lib/mail/jdec/fields/structured_field_patch.rb
mail-jdec-1.0.7 lib/mail/jdec/fields/structured_field_patch.rb
mail-jdec-1.0.6 lib/mail/jdec/fields/structured_field_patch.rb
mail-jdec-1.0.5 lib/mail/jdec/fields/structured_field_patch.rb
mail-jdec-1.0.4 lib/mail/jdec/fields/structured_field_patch.rb
mail-jdec-1.0.3 lib/mail/jdec/fields/structured_field_patch.rb
mail-jdec-1.0.2 lib/mail/jdec/fields/structured_field_patch.rb
mail-jdec-1.0.1 lib/mail/jdec/fields/structured_field_patch.rb
mail-jdec-1.0.0 lib/mail/jdec/fields/structured_field_patch.rb