mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
fix syntax highlighting in documentation for Sidekiq::Worker (#4042)
This commit is contained in:
parent
30bbd13a5e
commit
4eb54965dc
1 changed files with 5 additions and 5 deletions
|
@ -7,13 +7,13 @@ module Sidekiq
|
||||||
# Include this module in your worker class and you can easily create
|
# Include this module in your worker class and you can easily create
|
||||||
# asynchronous jobs:
|
# asynchronous jobs:
|
||||||
#
|
#
|
||||||
# class HardWorker
|
# class HardWorker
|
||||||
# include Sidekiq::Worker
|
# include Sidekiq::Worker
|
||||||
#
|
#
|
||||||
# def perform(*args)
|
# def perform(*args)
|
||||||
# # do some work
|
# # do some work
|
||||||
|
# end
|
||||||
# end
|
# end
|
||||||
# end
|
|
||||||
#
|
#
|
||||||
# Then in your Rails app, you can do this:
|
# Then in your Rails app, you can do this:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue