Sha256: f67972fa5206f417136fdd1b14e09d07e675d712f11d53b718e0c97be8e3f156

Contents?: true

Size: 353 Bytes

Versions: 13

Compression:

Stored size: 353 Bytes

Contents

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

module Mail
  class MimeVersionElement #:nodoc:
    attr_reader :major, :minor

    def initialize(string)
      mime_version = Mail::Parsers::MimeVersionParser.parse(string)
      @major = mime_version.major
      @minor = mime_version.minor
    end
  end
end

Version data entries

13 entries across 13 versions & 4 rubygems

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