method
pre_uninstall
v2_4_6 -
Show latest stable
- Class:
Gem
pre_uninstall(&hook)public
Adds a pre-uninstall hook that will be passed an Gem::Uninstaller instance and the spec that will be uninstalled when Gem::Uninstaller#uninstall is called