yard
yard copied to clipboard
Conflicting docs for @attr et al
On https://www.rubydoc.info/gems/yard/file/docs/Tags.md#attr, the docs for @attr are:
@attr name [Types] description
However the example given is:
# @attr [String] name the name of the structure
The name and the types are inverted.
This should be fixed to be consistent but just FYI both syntaxes are supported, so it's not exactly conflicting.