class Pennyworth::Runner

Base class for the runner classes

Attributes

command_runner[R]

Public Instance Methods

cleanup_directory(dir) click to toggle source
# File lib/pennyworth/runner.rb, line 23
def cleanup_directory(dir)
  command_runner.run("test -d #{dir} && rm -r #{dir} || true")
end