YARD: how to create a link to a class method? YARD: how to create a link to a class method? ruby ruby

YARD: how to create a link to a class method?


Just use the name, bare:

{class_method}

Or if it is in a different namespace

{Object.class_method}


Use a dot.

{.class_method}

Or, if you're using markdown as a processor, you'll need to escape the underscore.

{.class\_method}