Sha256: 7b75f10d60db43ba5fb41a7226daef51b2e69966a782556bd49765fa2fee1fd8
Contents?: true
Size: 267 Bytes
Versions: 11
Compression:
Stored size: 267 Bytes
Contents
require_relative 'command_handler' module Ftpd # The Quit (QUIT) command class CmdQuit < CommandHandler def cmd_quit(argument) syntax_error if argument ensure_logged_in reply "221 Byebye" self.logged_in = false end end end
Version data entries
11 entries across 11 versions & 2 rubygems