123456789_123456789_123456789_123456789_123456789_

Module: ActionMailer

Overview

Class Method Summary

::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.

[ GitHub ]

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

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

.version

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

[ GitHub ]

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

def self.version
  gem_version
end