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



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

def host
  @host
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



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

def port
  @port
end