lib/mail/jdec/fields/structured_field_patch.rb in mail-jdec-1.0.10 vs lib/mail/jdec/fields/structured_field_patch.rb in mail-jdec-1.1.0
- old
+ new
@@ -1,4 +1,6 @@
+# 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?