From 3320e80b93f94d216fe03bc9183c867e421cc4d5 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Wed, 10 Jan 2018 12:15:30 -0500 Subject: Correct comment [ci skip] --- activestorage/app/models/active_storage/blob/representable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activestorage') diff --git a/activestorage/app/models/active_storage/blob/representable.rb b/activestorage/app/models/active_storage/blob/representable.rb index 86f39fdf0c..fb6a55fa73 100644 --- a/activestorage/app/models/active_storage/blob/representable.rb +++ b/activestorage/app/models/active_storage/blob/representable.rb @@ -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)) -- cgit v1.2.3