aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-03-25 09:42:22 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-03-25 09:42:22 +0900
commit8881d84369f5eaf78009a18859e9ef751aedf53c (patch)
tree9b2b1d359110fb91dd2a5eadd0a804412d0604e1 /activesupport/lib
parentff6d498704cff88b823871d20c5dfcaa3345ead7 (diff)
downloadrails-8881d84369f5eaf78009a18859e9ef751aedf53c.tar.gz
rails-8881d84369f5eaf78009a18859e9ef751aedf53c.tar.bz2
rails-8881d84369f5eaf78009a18859e9ef751aedf53c.zip
Remove unused `serialize` method
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/encrypted_configuration.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/encrypted_configuration.rb b/activesupport/lib/active_support/encrypted_configuration.rb
index dab953d5d5..3c6da10548 100644
--- a/activesupport/lib/active_support/encrypted_configuration.rb
+++ b/activesupport/lib/active_support/encrypted_configuration.rb
@@ -38,10 +38,6 @@ module ActiveSupport
@options ||= ActiveSupport::InheritableOptions.new(config)
end
- def serialize(config)
- config.present? ? YAML.dump(config) : ""
- end
-
def deserialize(config)
config.present? ? YAML.load(config, content_path) : {}
end