aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/models/active_storage/variant.rb
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2017-10-13 07:52:39 -0400
committerGeorge Claghorn <george@basecamp.com>2017-10-13 07:52:39 -0400
commit29da7d1ff510a9f376fc6c780273dfa89298ff51 (patch)
tree4f59870222560520a8d35d5f3da6bf23f8b8a2a5 /activestorage/app/models/active_storage/variant.rb
parent4e6774eed5a95dda463df0a9f0b264b16e61e79e (diff)
downloadrails-29da7d1ff510a9f376fc6c780273dfa89298ff51.tar.gz
rails-29da7d1ff510a9f376fc6c780273dfa89298ff51.tar.bz2
rails-29da7d1ff510a9f376fc6c780273dfa89298ff51.zip
Clarify comment [ci skip]
Diffstat (limited to 'activestorage/app/models/active_storage/variant.rb')
-rw-r--r--activestorage/app/models/active_storage/variant.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/app/models/active_storage/variant.rb b/activestorage/app/models/active_storage/variant.rb
index 915b78162c..fa5aa69bd3 100644
--- a/activestorage/app/models/active_storage/variant.rb
+++ b/activestorage/app/models/active_storage/variant.rb
@@ -65,7 +65,7 @@ class ActiveStorage::Variant
service.url key, expires_in: expires_in, disposition: disposition, filename: blob.filename, content_type: blob.content_type
end
- # Returns the receiving variant. Allows ActiveStorage::Variant and ActiveStorage::Preview instances to be duck-typed.
+ # Returns the receiving variant. Allows ActiveStorage::Variant and ActiveStorage::Preview instances to be used interchangeably.
def image
self
end