Skip to content

Commit 29da7d1

Browse files
Clarify comment [ci skip]
1 parent 4e6774e commit 29da7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activestorage/app/models/active_storage/variant.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def service_url(expires_in: service.url_expires_in, disposition: :inline)
6565
service.url key, expires_in: expires_in, disposition: disposition, filename: blob.filename, content_type: blob.content_type
6666
end
6767

68-
# Returns the receiving variant. Allows ActiveStorage::Variant and ActiveStorage::Preview instances to be duck-typed.
68+
# Returns the receiving variant. Allows ActiveStorage::Variant and ActiveStorage::Preview instances to be used interchangeably.
6969
def image
7070
self
7171
end

0 commit comments

Comments
 (0)