aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/custom_reader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/models/custom_reader.rb')
-rw-r--r--activemodel/test/models/custom_reader.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activemodel/test/models/custom_reader.rb b/activemodel/test/models/custom_reader.rb
index 2fbcf79c3d..df605e93d9 100644
--- a/activemodel/test/models/custom_reader.rb
+++ b/activemodel/test/models/custom_reader.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class CustomReader
include ActiveModel::Validations
@@ -12,4 +14,4 @@ class CustomReader
def read_attribute_for_validation(key)
@data[key]
end
-end \ No newline at end of file
+end