0

Yard has a tag @!method to describe documentation for instance methods that are created dynamically. Is there a similar tag for class methods?

sawa
  • 165,429
  • 45
  • 277
  • 381
Sergey Potapov
  • 3,819
  • 3
  • 27
  • 46

1 Answers1

2

YARD provides @!scope tag to set scope of methods. So use @!method first and as subtag @!scope (http://rubydoc.info/docs/yard/file/docs/Tags.md#scope).

Zeke Fast
  • 500
  • 5
  • 12