class Perus::Pinger::Upload

Public Instance Methods

cleanup() click to toggle source
# File lib/perus/pinger/commands/upload.rb, line 11
def cleanup
    @file.close unless @file.nil? || @file.closed?
end
run() click to toggle source
# File lib/perus/pinger/commands/upload.rb, line 7
def run
    @file = File.new(options.path)
end