diff --git a/README.rdoc b/README.rdoc index 4a8263c..52caa50 100644 --- a/README.rdoc +++ b/README.rdoc @@ -15,9 +15,10 @@ One of the significant benefits you get from this library versus using Net::SSH In a nutshell: + require 'net/ssh' require 'net/ssh/shell' - Net::SSH::Start('host', 'user') do |ssh| + Net::SSH::start('host', 'user') do |ssh| ssh.shell do |sh| sh.execute "cd /usr/local" sh.execute "pwd"