module Net::SSH
def self._support_deprecated_option_paranoid(options)
def self._support_deprecated_option_paranoid(options) if options.key?(:paranoid) Kernel.warn( ":paranoid is deprecated, please use :verify_host_key. Supported " \ "values are exactly the same, only the name of the option has changed." ) if options.key?(:verify_host_key) Kernel.warn( "Both :paranoid and :verify_host_key were specified. " \ ":verify_host_key takes precedence, :paranoid will be ignored." ) else options[:verify_host_key] = options.delete(:paranoid) end end end