Module: Tunnel

Defined in:
lib/tunnel.rb,
lib/tunnel/cli.rb,
lib/tunnel/config.rb,
lib/tunnel/version.rb,
lib/tunnel/configfile.rb

Defined Under Namespace

Classes: CLI, Config, Configfile

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.start(conf) ⇒ Object



9
10
11
12
13
# File 'lib/tunnel.rb', line 9

def self.start(conf)
  puts "Starting #{conf}"
  puts "--> #{conf.ssh_command}"
  system conf.ssh_command
end