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



694
695
696
# File 'lib/rubygems.rb', line 694

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