Method: Gem.post_install

Defined in:
lib/rubygems.rb

.post_install(&hook) ⇒ Object

Adds a post-install hook that will be passed an Gem::Installer instance when Gem::Installer#install is called



763
764
765
# File 'lib/rubygems.rb', line 763

def self.post_install(&hook)
  @post_install_hooks << hook
end