Sha256: 889ed7f9b642c976d3b37821ab60ae24e2e899315c9d9dfd454e305e52952cf5

Contents?: true

Size: 323 Bytes

Versions: 14

Compression:

Stored size: 323 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true
require 'mail/parsers/content_transfer_encoding_parser'

module Mail
  class ContentTransferEncodingElement #:nodoc:
    attr_reader :encoding

    def initialize(string)
      @encoding = Mail::Parsers::ContentTransferEncodingParser.parse(string).encoding
    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/elements/content_transfer_encoding_element.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/mail-2.8.1/lib/mail/elements/content_transfer_encoding_element.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/elements/content_transfer_encoding_element.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/elements/content_transfer_encoding_element.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/elements/content_transfer_encoding_element.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/elements/content_transfer_encoding_element.rb
mail-2.8.1 lib/mail/elements/content_transfer_encoding_element.rb
mail-2.8.1.rc2 lib/mail/elements/content_transfer_encoding_element.rb
mail-2.8.0.1 lib/mail/elements/content_transfer_encoding_element.rb
mail-2.8.0.1.rc1 lib/mail/elements/content_transfer_encoding_element.rb
mail-2.8.0 lib/mail/elements/content_transfer_encoding_element.rb
mail-2.8.0.rc3 lib/mail/elements/content_transfer_encoding_element.rb
mail-2.8.0.rc2 lib/mail/elements/content_transfer_encoding_element.rb
mail-2.8.0.rc1 lib/mail/elements/content_transfer_encoding_element.rb