mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Clarify comment [ci skip]
This commit is contained in:
parent
4e6774eed5
commit
29da7d1ff5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue