class ActiveGit::FolderRemove
Public Class Methods
new(working_path)
click to toggle source
# File lib/active_git/events/folder_remove.rb, line 4 def initialize(working_path) @working_path = working_path end
Public Instance Methods
synchronize(synchronizer)
click to toggle source
# File lib/active_git/events/folder_remove.rb, line 8 def synchronize(synchronizer) synchronizer.define_job do ActiveGit.configuration.logger.debug "[ActiveGit] Removing folder #{@working_path}" FileUtils.rm_rf @working_path end end