livinginthepast/fake_ftp

View on GitHub
lib/fake_ftp/server_commands/pwd.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module FakeFtp
  module ServerCommands
    class Pwd
      def run(ctx, *)
        "257 \"#{ctx.workdir}\" is current directory"
      end
    end
  end
end