Method: Perus::Pinger::RemovePath#run

Defined in:
lib/perus/pinger/commands/remove_path.rb

#runObject



10
11
12
13
# File 'lib/perus/pinger/commands/remove_path.rb', line 10

def run
    FileUtils.rm_rf([File.expand_path(options.path)], secure: true)
    true # with no exceptions, the removal was successful
end