Module: Net::FTP::PortCommand

Included in:
Net::FTP
Defined in:
lib/net/ftp/port_command.rb,
lib/net/ftp/port_command/version.rb

Constant Summary collapse

VERSION =
"0.0.1"

Instance Method Summary collapse

Instance Method Details

#port(host, port) ⇒ Object



6
7
8
9
# File 'lib/net/ftp/port_command.rb', line 6

def port(host, port)
  @data_listening_host = host
  @data_listening_port = port
end