ruby - How do I document generated classes in Yard? -



ruby - How do I document generated classes in Yard? -

i have class create mill function this:

cake = myproject.struct(:type, :price)

in yard, it's displayed along constants:

cake = struct(:type, :price)

i want show in "classes: " list. after reading on docs, lead believe work:

# @!parse class cake; end cake = myproject.struct(:type, :price)

but literally changed nothing.

is possible yard document dynamically created classes classes?

ruby rdoc yard

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -