Method: Utils::ConfigFile#ssh_tunnel

Defined in:
lib/utils/config_file.rb

#ssh_tunnel(&block) ⇒ Object



248
249
250
251
252
253
# File 'lib/utils/config_file.rb', line 248

def ssh_tunnel(&block)
  if block
    @ssh_tunnel = SshTunnel.new(&block)
  end
  @ssh_tunnel ||= SshTunnel.new
end