Prefer keyword args after all

SINCE we've been using only the first two params, we're fine!
GSoC/Meterpreter_Web_Console
William Vu 2018-10-17 15:40:46 -05:00
parent a453760aa4
commit 1e1950c83d
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class CommandStream
self.channel = channel
end
def initialize(ssh, cmd = nil, pty = false, cleanup = false)
def initialize(ssh, cmd = nil, pty: false, cleanup: false)
self.lsock, self.rsock = Rex::Socket.tcp_socket_pair()
self.lsock.extend(Rex::IO::Stream)
self.lsock.extend(PeerInfo)