gem_version.rb 351 字节
Newer Older
1 2
# frozen_string_literal: true

3
module ActionMailer
4
  # Returns the version of the currently loaded Action Mailer as a <tt>Gem::Version</tt>.
5 6 7 8 9
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

  module VERSION
10
    MAJOR = 5
M
Matthew Draper 已提交
11
    MINOR = 2
12
    TINY  = 4
A
Aaron Patterson 已提交
13
    PRE   = "3"
14 15 16 17

    STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
  end
end