From d0539c0a5d1c6acaf807111989fccdd8fcab4783 Mon Sep 17 00:00:00 2001 From: Alther Alves Date: Thu, 23 Jun 2022 16:29:25 -0700 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d160927..edf1d76 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Net::SSH::Gateway is a library for programmatically tunnelling connections to se In a nutshell: +```ruby require 'net/ssh/gateway' gateway = Net::SSH::Gateway.new('host', 'user') @@ -40,6 +41,7 @@ In a nutshell: # As of 1.1.0, you can also specify the wait time for the # gateway thread with the :loop_wait option. gateway = Net::SSH::Gateway.new('host', 'user', :loop_wait => 0.001) +``` See Net::SSH::Gateway for more documentation.