class Perus::Pinger::RemovePath

Public Instance Methods

run() click to toggle source
# 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