class Gem::DocManager

def install_yardoc

def install_yardoc
  rdoc_dir = File.join(@doc_dir, 'rdoc')
  FileUtils.rm_rf rdoc_dir
  say "Installing YARD documentation for #{@spec.full_name}..."
  run_yardoc '-o', rdoc_dir
end