Module: ActionMailer

Extended by:
ActiveSupport::Autoload
Defined in:
lib/action_mailer/rescuable.rb,
lib/action_mailer.rb,
lib/action_mailer/base.rb,
lib/action_mailer/preview.rb,
lib/action_mailer/railtie.rb,
lib/action_mailer/version.rb,
lib/action_mailer/collector.rb,
lib/action_mailer/test_case.rb,
lib/action_mailer/gem_version.rb,
lib/action_mailer/mail_helper.rb,
lib/action_mailer/test_helper.rb,
lib/action_mailer/delivery_job.rb,
lib/action_mailer/parameterized.rb,
lib/action_mailer/log_subscriber.rb,
lib/action_mailer/delivery_methods.rb,
lib/action_mailer/message_delivery.rb,
lib/action_mailer/mail_delivery_job.rb,
lib/action_mailer/inline_preview_interceptor.rb

Overview

:nodoc:

Defined Under Namespace

Modules: DeliveryMethods, MailHelper, Parameterized, Previews, Rescuable, TestHelper, VERSION Classes: Base, Collector, DeliveryJob, InlinePreviewInterceptor, LogSubscriber, MailDeliveryJob, MessageDelivery, NonInferrableMailerError, Preview, Railtie, TestCase

Class Method Summary collapse

Class Method Details

.eager_load!Object



57
58
59
60
61
62
# File 'lib/action_mailer.rb', line 57

def self.eager_load!
  super

  require "mail"
  Mail.eager_autoload!
end

.gem_versionObject

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



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

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

.versionObject

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



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

def self.version
  gem_version
end