Skip to content

Commit 102ee40

Browse files
committed
Privatize unneededly protected method in Active Job
1 parent 726b71c commit 102ee40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activejob/lib/active_job/enqueuing.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def perform_later(*args)
1818
job_or_instantiate(*args).enqueue
1919
end
2020

21-
protected
22-
def job_or_instantiate(*args)
21+
private
22+
def job_or_instantiate(*args) # :doc:
2323
args.first.is_a?(self) ? args.first : new(*args)
2424
end
2525
end

0 commit comments

Comments
 (0)