Class: Net::SSH::Service::Forward::Remote

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/ssh/service/forward.rb

Overview

A simple class for representing a requested remote forwarded port.

Instance Attribute Summary collapse

Instance Attribute Details

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



20
21
22
# File 'lib/net/ssh/service/forward.rb', line 20

def host
  @host
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



20
21
22
# File 'lib/net/ssh/service/forward.rb', line 20

def port
  @port
end