Method: Ftl::Client#connect
- Defined in:
- lib/ftl/client.rb
#connect(args = {}) ⇒ Object Also known as: x, ssh
133 134 135 136 137 138 139 140 |
# File 'lib/ftl/client.rb', line 133 def connect(args={}) if server = running_instance(args.first) # puts(ssh_command(server)) exec(ssh_command(server)) else display "Typo alert! No server found!" end end |