Sha256: 324e80d03301efc44ff6f5d0e2dca56240002fb3decfb7a9ce1b27a7c19c4235

Contents?: true

Size: 425 Bytes

Versions: 14

Compression:

Stored size: 425 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true
require 'mail/fields/unstructured_field'

module Mail
  # The field names of any optional-field MUST NOT be identical to any
  # field name specified elsewhere in this standard.
  #
  # optional-field  =       field-name ":" unstructured CRLF
  class OptionalField < UnstructuredField #:nodoc:
    private
      def do_encode
        "#{wrapped_value}\r\n"
      end
  end
end

Version data entries

14 entries across 14 versions & 5 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/mail-2.8.1/lib/mail/fields/optional_field.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/mail-2.8.1/lib/mail/fields/optional_field.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/fields/optional_field.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/fields/optional_field.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/fields/optional_field.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/fields/optional_field.rb
mail-2.8.1 lib/mail/fields/optional_field.rb
mail-2.8.1.rc2 lib/mail/fields/optional_field.rb
mail-2.8.0.1 lib/mail/fields/optional_field.rb
mail-2.8.0.1.rc1 lib/mail/fields/optional_field.rb
mail-2.8.0 lib/mail/fields/optional_field.rb
mail-2.8.0.rc3 lib/mail/fields/optional_field.rb
mail-2.8.0.rc2 lib/mail/fields/optional_field.rb
mail-2.8.0.rc1 lib/mail/fields/optional_field.rb