未验证 提交 7295d8c2 编写于 作者: R Rafael França 提交者: Rafael Mendonça França

Merge pull request #35334 from sharang-d/digest-doc-update

Update comment for ActionView::Digestor.digest [ci skip]
上级 393b8640
......@@ -9,9 +9,10 @@ class Digestor
class << self
# Supported options:
#
# * <tt>name</tt> - Template name
# * <tt>finder</tt> - An instance of <tt>ActionView::LookupContext</tt>
# * <tt>dependencies</tt> - An array of dependent views
# * <tt>name</tt> - Template name
# * <tt>format</tt> - Template format
# * <tt>finder</tt> - An instance of <tt>ActionView::LookupContext</tt>
# * <tt>dependencies</tt> - An array of dependent views
def digest(name:, format:, finder:, dependencies: nil)
if dependencies.nil? || dependencies.empty?
cache_key = "#{name}.#{format}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册