Skip to content

Commit 349ce8d

Browse files
Uaittp8
authored andcommitted
docs: correct fixed-width font documentation
1 parent 808b052 commit 349ce8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activejob/lib/active_job/exceptions.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module ClassMethods
2121
# You can also pass a block that'll be invoked if the retry attempts fail for custom logic rather than letting
2222
# the exception bubble up. This block is yielded with the job instance as the first and the error instance as the second parameter.
2323
#
24-
# `retry_on` and `discard_on` handlers are searched from bottom to top, and up the class hierarchy. The handler of the first class for
24+
# +retry_on+ and +discard_on+ handlers are searched from bottom to top, and up the class hierarchy. The handler of the first class for
2525
# which <tt>exception.is_a?(klass)</tt> holds true is the one invoked, if any.
2626
#
2727
# ==== Options
@@ -84,7 +84,7 @@ def retry_on(*exceptions, wait: 3.seconds, attempts: 5, queue: nil, priority: ni
8484
#
8585
# You can also pass a block that'll be invoked. This block is yielded with the job instance as the first and the error instance as the second parameter.
8686
#
87-
# `retry_on` and `discard_on` handlers are searched from bottom to top, and up the class hierarchy. The handler of the first class for
87+
# +retry_on+ and +discard_on+ handlers are searched from bottom to top, and up the class hierarchy. The handler of the first class for
8888
# which <tt>exception.is_a?(klass)</tt> holds true is the one invoked, if any.
8989
#
9090
# ==== Example

0 commit comments

Comments
 (0)