Skip to content

Commit

Permalink
Update other deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mangara committed Jan 24, 2024
1 parent 3641fae commit 578a25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/job-iteration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def logger

def interruption_adapter=(adapter)
Deprecation.warn("Setting JobIteration.interruption_adapter is deprecated."\
" Use JobIteration.register_interruption_adapter(:foo, callable) instead"\
" Use JobIteration::InterruptionAdapters.register(:foo, callable) instead"\
" to register the callable (a proc, method, or other object responding to #call)"\
" as the interruption adapter for queue adapter :foo.")
@interruption_adapter = adapter
Expand Down

0 comments on commit 578a25d

Please sign in to comment.