class Busser::Command::SuiteCleanup
Suite
cleanup command.
@author Fletcher Nichol <fnichol@nichol.ca>
Public Instance Methods
cleanup()
click to toggle source
# File lib/busser/command/suite_cleanup.rb, line 30 def cleanup if suite_path.directory? Pathname.glob(suite_path + "*").each do |dir| info "Removing #{dir}" dir.rmtree end else info "Suite path directory #{suite_path} does not exist, skipping." end end