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



679
680
681
# File 'lib/rubygems.rb', line 679

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