Class: SystemSSH
- Inherits:
-
Object
- Object
- SystemSSH
- Defined in:
- lib/system-connect.rb
Instance Attribute Summary collapse
-
#connection_object ⇒ Object
Returns the value of attribute connection_object.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
Instance Method Summary collapse
-
#initialize(hostname, connection_object) ⇒ SystemSSH
constructor
A new instance of SystemSSH.
Constructor Details
#initialize(hostname, connection_object) ⇒ SystemSSH
Returns a new instance of SystemSSH.
48 49 50 51 |
# File 'lib/system-connect.rb', line 48 def initialize(hostname, connection_object) @hostname = hostname @connection_object = connection_object end |
Instance Attribute Details
#connection_object ⇒ Object
Returns the value of attribute connection_object.
47 48 49 |
# File 'lib/system-connect.rb', line 47 def connection_object @connection_object end |
#hostname ⇒ Object
Returns the value of attribute hostname.
47 48 49 |
# File 'lib/system-connect.rb', line 47 def hostname @hostname end |