class YARD::Server::LibraryVersion

def load_yardoc_from_disk

Raises:
  • (LibraryNotPreparedError) - if the yardoc file has not been
def load_yardoc_from_disk
  return if ready?
  @@chdir_mutex.synchronize do
    Dir.chdir(source_path_for_disk) do
      Thread.new do
        CLI::Yardoc.run('--no-stats', '-n', '-b', yardoc_file)
      end
    end
  end
  raise LibraryNotPreparedError
end