summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2018-02-06 10:10:43 +0100
committerGitHub <noreply@github.com>2018-02-06 10:10:43 +0100
commit8031270e3d4a0b342b5ee2ad07f1a872b2ea69f9 (patch)
tree4254c2d54751b5a44f5a06e74a4cad5d89b0403a /lib
parent029dd8bb3ec14a99a613414ffcef877e0827f85a (diff)
parente437b30caf0729e67be15fdb508076cf566abea6 (diff)
downloadnet-ssh-8031270e3d4a0b342b5ee2ad07f1a872b2ea69f9.tar.gz
Merge pull request #561 from chooper/chooper/fix-docs
Fix Net::SSH.start docs
Diffstat (limited to 'lib')
-rw-r--r--lib/net/ssh.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh.rb b/lib/net/ssh.rb
index f3d88c3..6471eb0 100644
--- a/lib/net/ssh.rb
+++ b/lib/net/ssh.rb
@@ -192,7 +192,7 @@ module Net
# * :password_prompt => a custom prompt object with ask method. See Net::SSH::Prompt
#
# * :agent_socket_factory => enables the user to pass a lambda/block that will serve as the socket factory
- # Net::SSH::start(user,host,agent_socket_factory: ->{ UNIXSocket.open('/foo/bar') })
+ # Net::SSH.start(host,user,agent_socket_factory: ->{ UNIXSocket.open('/foo/bar') })
# example: ->{ UNIXSocket.open('/foo/bar')}
# * :verify_host_key => either false, true, :very, or :secure specifying how
# strict host-key verification should be (in increasing order here).