Method: Gem.post_uninstall

Defined in:
lib/rubygems.rb

.post_uninstall(&hook) ⇒ Object

Adds a post-uninstall hook that will be passed a Gem::Uninstaller instance and the spec that was uninstalled when Gem::Uninstaller#uninstall is called



705
706
707
# File 'lib/rubygems.rb', line 705

def self.post_uninstall(&hook)
  @post_uninstall_hooks << hook
end