class YARD::Server::LibraryVersion

def to_s(url_format = true)

Returns:
  • (String) - the string representation of the library.

Parameters:
  • url_format (Boolean) -- if true, returns the string in a URI-compatible
def to_s(url_format = true)
  version ? "#{name}#{url_format ? '/' : '-'}#{version}" : name.to_s
end