Sha256: 8d7885838598c9606963fe32b27a94a46c9f17796e2ed7b08e4ed83d3525c888

Contents?: true

Size: 353 Bytes

Versions: 16

Compression:

Stored size: 353 Bytes

Contents

# encoding: utf-8
module Mail
  class ContentTransferEncodingElement
    
    include Mail::Utilities
    
    def initialize(string)
      content_transfer_encoding = Mail::Parsers::ContentTransferEncodingParser.new.parse(string)
      @encoding = content_transfer_encoding.encoding
    end
    
    def encoding
      @encoding
    end
    
  end
end

Version data entries

16 entries across 15 versions & 7 rubygems

Version Path
mail-2.6.4.rc2 lib/mail/elements/content_transfer_encoding_element.rb
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/mail-2.6.3/lib/mail/elements/content_transfer_encoding_element.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/mail-2.6.3/lib/mail/elements/content_transfer_encoding_element.rb
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/mail-2.6.3/lib/mail/elements/content_transfer_encoding_element.rb
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/mail-2.6.3/lib/mail/elements/content_transfer_encoding_element.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/mail-2.6.3/lib/mail/elements/content_transfer_encoding_element.rb
mail-2.6.4.rc1 lib/mail/elements/content_transfer_encoding_element.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/mail-2.6.3/lib/mail/elements/content_transfer_encoding_element.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/mail-2.6.3/lib/mail/elements/content_transfer_encoding_element.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/mail-2.6.3/lib/mail/elements/content_transfer_encoding_element.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/mail-2.6.3/lib/mail/elements/content_transfer_encoding_element.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/mail-2.6.3/lib/mail/elements/content_transfer_encoding_element.rb
mail-2.6.3 lib/mail/elements/content_transfer_encoding_element.rb
mail-portertech-2.6.2.edge lib/mail/elements/content_transfer_encoding_element.rb
mail-2.6.1 lib/mail/elements/content_transfer_encoding_element.rb
mail-2.6.0 lib/mail/elements/content_transfer_encoding_element.rb