class FakeFtp::ServerCommands::Size
Public Instance Methods
Source
# File lib/fake_ftp/server_commands/size.rb, line 6 def run(ctx, filename, *) ctx.respond_with("213 #{ctx.file(filename).bytes}") end
# File lib/fake_ftp/server_commands/size.rb, line 6 def run(ctx, filename, *) ctx.respond_with("213 #{ctx.file(filename).bytes}") end