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