aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/models/active_storage/variant.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-08-13 21:39:38 +0930
committerGitHub <noreply@github.com>2017-08-13 21:39:38 +0930
commit4ec5b7610dc040c616b6d058cc23c5af887ec221 (patch)
tree4e6dafd8144b0762e5d196781e26c2b940ba9299 /activestorage/app/models/active_storage/variant.rb
parentc8c20290419ad2f4b60df0297ace22b8f7f40f2b (diff)
parentd02844f2499be488d262bc274530ec44e242fd70 (diff)
downloadrails-4ec5b7610dc040c616b6d058cc23c5af887ec221.tar.gz
rails-4ec5b7610dc040c616b6d058cc23c5af887ec221.tar.bz2
rails-4ec5b7610dc040c616b6d058cc23c5af887ec221.zip
Merge pull request #30211 from koic/frozen_activestorage
Use frozen string literal in Active Storage
Diffstat (limited to 'activestorage/app/models/active_storage/variant.rb')
-rw-r--r--activestorage/app/models/active_storage/variant.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activestorage/app/models/active_storage/variant.rb b/activestorage/app/models/active_storage/variant.rb
index b9b93b4c1b..7b4ca18c8c 100644
--- a/activestorage/app/models/active_storage/variant.rb
+++ b/activestorage/app/models/active_storage/variant.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
# Image blobs can have variants that are the result of a set of transformations applied to the original.
# These variants are used to create thumbnails, fixed-size avatars, or any other derivative image from the
# original.