summaryrefslogtreecommitdiff
path: root/lib/net/ssh.rb
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2017-05-27 07:44:06 +0200
committerGitHub <noreply@github.com>2017-05-27 07:44:06 +0200
commit5c8676541ce14478397be1e654521a75e64d870c (patch)
tree5bd0bce8bf1ed0a3d9dd989c820273e7e5302cd7 /lib/net/ssh.rb
parent3bacdb6a55d13898ed5b21176ee36d6d5cfd837c (diff)
parent705abfb945a93672b1b8da487a1dd57fa0ba0c80 (diff)
downloadnet-ssh-3-1-release.tar.gz
Merge pull request #523 from camertron/3-1-release3-1-release
Ruby 2.4 compatibility
Diffstat (limited to 'lib/net/ssh.rb')
-rw-r--r--lib/net/ssh.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/ssh.rb b/lib/net/ssh.rb
index a7aa298..761044b 100644
--- a/lib/net/ssh.rb
+++ b/lib/net/ssh.rb
@@ -177,7 +177,7 @@ module Net
# * :user_known_hosts_file => the location of the user known hosts file.
# Set to an array to specify multiple user known hosts files.
# Defaults to %w(~/.ssh/known_hosts ~/.ssh/known_hosts2).
- # * :use_agent => Set false to disable the use of ssh-agent. Defaults to
+ # * :use_agent => Set false to disable the use of ssh-agent. Defaults to
# true
# * :non_interactive => set to true if your app is non interactive and prefers
# authentication failure vs password prompt
@@ -219,7 +219,7 @@ module Net
if options[:verbose]
options[:logger].level = case options[:verbose]
- when Fixnum then options[:verbose]
+ when Integer then options[:verbose]
when :debug then Logger::DEBUG
when :info then Logger::INFO
when :warn then Logger::WARN