Sha256: b6006c2b1eaef92381f92d3b530bb724668d5be439f27fff3c22c88ce0b529db
Contents?: true
Size: 298 Bytes
Versions: 7
Compression:
Stored size: 298 Bytes
Contents
# frozen_string_literal: true 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
7 entries across 7 versions & 1 rubygems