提交 102ee405 编写于 作者: A Akira Matsuda

Privatize unneededly protected method in Active Job

上级 726b71cb
......@@ -18,8 +18,8 @@ def perform_later(*args)
job_or_instantiate(*args).enqueue
end
protected
def job_or_instantiate(*args)
private
def job_or_instantiate(*args) # :doc:
args.first.is_a?(self) ? args.first : new(*args)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册