aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/attribute_set/yaml_encoder.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-02-26 06:14:17 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-02-26 06:16:24 +0900
commit3579876931381fd6abff99bd6e739169a8fcb489 (patch)
treee56cb9b801b92d699c548e179933f841d69f62db /activemodel/lib/active_model/attribute_set/yaml_encoder.rb
parent91b30a001b79096b60d9424a4664a417dce0b767 (diff)
downloadrails-3579876931381fd6abff99bd6e739169a8fcb489.tar.gz
rails-3579876931381fd6abff99bd6e739169a8fcb489.tar.bz2
rails-3579876931381fd6abff99bd6e739169a8fcb489.zip
Active Model: Use private attr_reader
Follow up of 6d63b5e49a399fe246afcebad45c3c962de268fa.
Diffstat (limited to 'activemodel/lib/active_model/attribute_set/yaml_encoder.rb')
-rw-r--r--activemodel/lib/active_model/attribute_set/yaml_encoder.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/attribute_set/yaml_encoder.rb b/activemodel/lib/active_model/attribute_set/yaml_encoder.rb
index 4ea945b956..ea1efc160e 100644
--- a/activemodel/lib/active_model/attribute_set/yaml_encoder.rb
+++ b/activemodel/lib/active_model/attribute_set/yaml_encoder.rb
@@ -33,8 +33,7 @@ module ActiveModel
end
end
- protected
-
+ private
attr_reader :default_types
end
end