Skip to content

Commit

Permalink
better rdoc for i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Aug 16, 2014
1 parent df5dca4 commit 587520d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/sidekiq/middleware/i18n.rb
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 587520d

Please sign in to comment.