# File lib/backup/configuration/helpers.rb, line 36 def log_deprecation_warning(name, deprecation) msg = "#{ self }.#{ name } has been deprecated as of " + "backup v.#{ deprecation[:version] }" if replacement = deprecation[:replacement] msg << "\nThis setting has been replaced with:\n" + "#{ self }.#{ replacement }" end Logger.warn Backup::Errors::ConfigurationError.new "[DEPRECATION WARNING]\n\#{ msg }\n" end