Permalink
Browse files

Small pause hook formatting clean up in HOOKs doc

  • Loading branch information...
1 parent edc82dd commit 9a6bb8df8f0c2e0dc85f570d0db11697c1e07e31 @ecoffey ecoffey committed Sep 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 docs/HOOKS.md
View
@@ -39,14 +39,13 @@ the current job. Any changes you make, therefor, will only live as
long as the job currently being processes.
You can also run a hook both before a worker pauses (`before_pause`),
-and after it is paused (`after_pause`). Each case the block will be
+and after it is paused (`after_pause`). In each case the block will be
passed the worker that is pausing or unpausing, respectively:
Resque.before_pause do |worker|
puts "It looks like #{worker} is now paused!"
end
-
Resque.after_pause do |worker|
puts "Whew, back to work for #{worker}!"
end

0 comments on commit 9a6bb8d

Please sign in to comment.