Sha256: 848c6b0249be52529415f621d55d7505f0ea463fd0284bd89f82828e479177a2

Contents?: true

Size: 319 Bytes

Versions: 3

Compression:

Stored size: 319 Bytes

Contents

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

  module VERSION
    MAJOR = 4
    MINOR = 2
    TINY  = 0
    PRE   = nil

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
activejob-lock-0.0.2 rails/actionmailer/lib/action_mailer/gem_version.rb
activejob-lock-0.0.1 rails/actionmailer/lib/action_mailer/gem_version.rb
actionmailer-4.2.0 lib/action_mailer/gem_version.rb