class YARD::Server::LibraryVersion

def yardoc_file_for_gem

Returns:
  • (String) - the yardoc file for a gem source
def yardoc_file_for_gem
  require 'rubygems'
  ver = version ? "= #{version}" : ">= 0"
  Registry.yardoc_file_for_gem(name, ver)
end