Class: SystemSSH

Inherits:
Object
  • Object
show all
Defined in:
lib/system-connect.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_objectObject

Returns the value of attribute connection_object.



47
48
49
# File 'lib/system-connect.rb', line 47

def connection_object
  @connection_object
end

#hostnameObject

Returns the value of attribute hostname.



47
48
49
# File 'lib/system-connect.rb', line 47

def hostname
  @hostname
end