From 8881d84369f5eaf78009a18859e9ef751aedf53c Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 25 Mar 2018 09:42:22 +0900 Subject: Remove unused `serialize` method --- activesupport/lib/active_support/encrypted_configuration.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activesupport/lib') 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 -- cgit v1.2.3