123456789_123456789_123456789_123456789_123456789_

Module: ActionMailer

Class Method Summary

  • .eager_load!
  • .gem_version

    Returns the version of the currently loaded Action Mailer as a Gem::Version.

  • .version

    Returns the version of the currently loaded Action Mailer as a Gem::Version.

::ActiveSupport::Autoload - Extended

Class Method Details

.eager_load!

[ GitHub ]

  
# File 'actionmailer/lib/action_mailer.rb', line 56

def self.eager_load!
  super

  require "mail"
  Mail.eager_autoload!
end

.gem_version

Returns the version of the currently loaded Action Mailer as a Gem::Version.

[ GitHub ]

  
# File 'actionmailer/lib/action_mailer/gem_version.rb', line 5

def self.gem_version
  Gem::Version.new VERSION::STRING
end

.version

Returns the version of the currently loaded Action Mailer as a Gem::Version.

[ GitHub ]

  
# File 'actionmailer/lib/action_mailer/version.rb', line 8

def self.version
  gem_version
end