wconrad/ftpd

View on GitHub
lib/ftpd/cmd_noop.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require_relative 'command_handler'

module Ftpd

  class CmdNoop < CommandHandler

    def cmd_noop(argument)
      syntax_error if argument
      reply "200 Nothing done"
    end

  end

end