Method: Gem::Commands::InstallCommand#load_hooks

Defined in:
lib/rubygems/commands/install_command.rb

#load_hooksObject

Loads post-install hooks


246
247
248
249
250
251
252
253
# File 'lib/rubygems/commands/install_command.rb', line 246

def load_hooks # :nodoc:
  if options[:install_as_default]
    require 'rubygems/install_default_message'
  else
    require 'rubygems/install_message'
  end
  require 'rubygems/rdoc'
end