Update yardoc syntax

Suggested by @dkubb