method
pre_install
v2_6_3 -
Show latest stable
- Class:
Gem
pre_install(&hook)public
Adds a pre-install hook that will be passed an Gem::Installer instance when Gem::Installer#install is called. If the hook returns false then the install will be aborted.