class YARD::RubygemsHook

def install_yri

def install_yri
  FileUtils.rm_rf @yri_dir
  say "Building YARD (yri) index for #{@spec.full_name}..."
  run_yardoc '--no-progress', '-c', '-n', '--db', @yri_dir
end