Module: ActionMailer
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- actionmailer/lib/action_mailer.rb,
actionmailer/lib/action_mailer/base.rb,
actionmailer/lib/action_mailer/preview.rb,
actionmailer/lib/action_mailer/railtie.rb,
actionmailer/lib/action_mailer/version.rb,
actionmailer/lib/action_mailer/callbacks.rb,
actionmailer/lib/action_mailer/collector.rb,
actionmailer/lib/action_mailer/rescuable.rb,
actionmailer/lib/action_mailer/test_case.rb,
actionmailer/lib/action_mailer/deprecator.rb,
actionmailer/lib/action_mailer/gem_version.rb,
actionmailer/lib/action_mailer/mail_helper.rb,
actionmailer/lib/action_mailer/test_helper.rb,
actionmailer/lib/action_mailer/form_builder.rb,
actionmailer/lib/action_mailer/parameterized.rb,
actionmailer/lib/action_mailer/log_subscriber.rb,
actionmailer/lib/action_mailer/queued_delivery.rb,
actionmailer/lib/action_mailer/delivery_methods.rb,
actionmailer/lib/action_mailer/message_delivery.rb,
actionmailer/lib/action_mailer/mail_delivery_job.rb,
actionmailer/lib/action_mailer/inline_preview_interceptor.rb
Overview
:nodoc:
Defined Under Namespace
Modules: Callbacks, DeliveryMethods, FormBuilder, MailHelper, Parameterized, Previews, QueuedDelivery, Rescuable, TestHelper, VERSION Classes: Base, Collector, InlinePreviewInterceptor, LogSubscriber, MailDeliveryJob, MessageDelivery, NonInferrableMailerError, Preview, Railtie, TestCase
Class Method Summary collapse
-
.deprecator ⇒ Object
:nodoc:.
- .eager_load! ⇒ Object
-
.gem_version ⇒ Object
Returns the currently loaded version of Action Mailer as a
Gem::Version
. -
.version ⇒ Object
Returns the currently loaded version of Action Mailer as a
Gem::Version
.
Methods included from ActiveSupport::Autoload
autoload, autoload_at, autoload_under, eager_autoload, eager_load!
Class Method Details
.deprecator ⇒ Object
:nodoc:
4 5 6 |
# File 'actionmailer/lib/action_mailer/deprecator.rb', line 4 def self.deprecator # :nodoc: @deprecator ||= ActiveSupport::Deprecation.new end |
.eager_load! ⇒ Object
61 62 63 64 65 66 67 68 69 70 |
# 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 ⇒ Object
Returns the currently loaded version of Action Mailer as a Gem::Version
.
5 6 7 |
# File 'actionmailer/lib/action_mailer/gem_version.rb', line 5 def self.gem_version Gem::Version.new VERSION::STRING end |
.version ⇒ Object
Returns the currently loaded version of Action Mailer as a Gem::Version
.
8 9 10 |
# File 'actionmailer/lib/action_mailer/version.rb', line 8 def self.version gem_version end |