Class: Cow::ACS6000::Telnet::Server
- Inherits:
-
Tmpl::Server
- Object
- Tmpl::Server
- Cow::ACS6000::Telnet::Server
- Includes:
- Server
- Defined in:
- lib/cow/plugins/acs6000.rb
Instance Attribute Summary
Attributes inherited from Tmpl::Server
Instance Method Summary collapse
Methods included from Server
Methods inherited from Tmpl::Server
#connect, #find, #initialize, #port, #ports, #update_ports
Constructor Details
This class inherits a constructor from Cow::Tmpl::Server
Instance Method Details
#connect_command(_port, _user = ) ⇒ Object
40 41 42 |
# File 'lib/cow/plugins/acs6000.rb', line 40 def connect_command(_port, _user = ENV['USER']) "telnet #{@hostname} #{port(_port).tcp_port}" end |