Sha256: 6a1b16daf1c3690f33e0287f92d3f0c3c1bd81f43c42f59367ceb0f17e7f6b0f
Contents?: true
Size: 417 Bytes
Versions: 44
Compression:
Stored size: 417 Bytes
Contents
module Perus::Pinger class Upload < Command description 'Uploads a file from the client to the server. Valid values for "path" are contained in the pinger config file.' option :path, restricted: true def run @file = File.new(options.path) end def cleanup @file.close unless @file.nil? || @file.closed? end end end
Version data entries
44 entries across 44 versions & 1 rubygems