1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

better rdoc for i18n

This commit is contained in:
Mike Perham 2014-08-16 10:32:03 -07:00
parent df5dca4fef
commit 587520d0ba

View file

@ -1,3 +1,9 @@
#
# Simple middleware to save the current locale and restore it when the job executes.
# Use it by requiring it in your initializer:
#
# require 'sidekiq/middleware/i18n'
#
module Sidekiq::Middleware::I18n
# Get the current locale and store it in the message
# to be sent to Sidekiq.