Class: Workers::RemoveRepo

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
workers/remove_repo.rb

Overview

A worker that removes an installed ronin repo.

Instance Method Summary collapse

Instance Method Details

#perform(name) ⇒ Object



35
36
37
# File 'workers/remove_repo.rb', line 35

def perform(name)
  Ronin::Repos.cache_dir.remove(name)
end