Module: ActionMailer
Overview
Class Method Summary
- .eager_load!
-
.gem_version
Returns the currently loaded version of Action Mailer as a
Gem::Version
. -
.version
Returns the currently loaded version of Action Mailer as a
Gem::Version
. - .deprecator Internal use only
::ActiveSupport::Autoload
- Extended
Class Method Details
.deprecator
This method is for internal use only.
[ GitHub ]
# File 'actionmailer/lib/action_mailer/deprecator.rb', line 4
def self.deprecator # :nodoc: @deprecator ||= ActiveSupport::Deprecation.new end
.eager_load!
[ GitHub ]# File 'actionmailer/lib/action_mailer.rb', line 61
def self.eager_load! super require "mail" Mail.eager_autoload! Base.descendants.each do |mailer| mailer.eager_load! unless mailer.abstract? end end
.gem_version
Returns the currently loaded version of Action Mailer as a Gem::Version
.
.version
Returns the currently loaded version of Action Mailer as a Gem::Version
.
# File 'actionmailer/lib/action_mailer/version.rb', line 8
def self.version gem_version end