Sha256: 631eb6f81dfbc60773efce3af149bdaa839643b2ba81bfa5b746655e72a9cbed
Contents?: true
Size: 358 Bytes
Versions: 11
Compression:
Stored size: 358 Bytes
Contents
require_relative 'command_handler' module Ftpd class CmdCwd < CommandHandler def cmd_cwd(argument) ensure_logged_in path = File.expand_path(argument, name_prefix) ensure_accessible path ensure_exists path ensure_directory path self.name_prefix = path pwd 250 end alias cmd_xcwd :cmd_cwd end end
Version data entries
11 entries across 11 versions & 2 rubygems