提交 3320e80b 编写于 作者: G George Claghorn

Correct comment [ci skip]

上级 d4cdd4a0
......@@ -22,7 +22,7 @@ module ActiveStorage::Blob::Representable
# can then produce on-demand.
#
# Raises ActiveStorage::Blob::InvariableError if ImageMagick cannot transform the blob. To determine whether a blob is
# variable, call ActiveStorage::Blob#previewable?.
# variable, call ActiveStorage::Blob#variable?.
def variant(transformations)
if variable?
ActiveStorage::Variant.new(self, ActiveStorage::Variation.wrap(transformations))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册