Sha256: 72bfa46b9d79aae06ca6559fa5ebd499eec475535f3ae0c64c0047a63e0b8556
Contents?: true
Size: 378 Bytes
Versions: 7
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true require_relative 'command_handler' module Ftpd # The Allocate (ALLO) command. # # This server does not need the ALLO command, so treats it as a # NOOP. class CmdAllo < CommandHandler def cmd_allo(argument) ensure_logged_in syntax_error unless argument =~ /^\d+( R \d+)?$/ command_not_needed end end end
Version data entries
7 entries across 7 versions & 1 rubygems