Sha256: 682c24ccf0e4096cd0513d606c9f9cbb53cd60a2fdcb890c628b8aee4374958a

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

module ActiveGit
  class FolderRemove

    def initialize(path)
      @path = path
    end

    def synchronize(synchronizer)
      synchronizer.define_job do
        ::ActiveRecord::Base.logger.debug "[ActiveGit] Removing working folder #{@path}"
        FileUtils.rm_rf @path
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_git-0.0.2 lib/active_git/events/folder_remove.rb
active_git-0.0.1 lib/active_git/events/folder_remove.rb