123456789_123456789_123456789_123456789_123456789_

Module: ActiveJob::Translation

Do not use. This module is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: activejob/lib/active_job/translation.rb

Class Method Summary

::ActiveSupport::Concern - Extended

class_methods

Define class methods from given block.

included

Evaluate given block in context of base class, so that you can write class macros here.

prepended

Evaluate given block in context of base class, so that you can write class macros here.

append_features, prepend_features

DSL Calls

included

[ GitHub ]


7
8
9
10
11
# File 'activejob/lib/active_job/translation.rb', line 7

included do
  around_perform do |job, block|
    I18n.with_locale(job.locale, &block)
  end
end