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
Post a Comment