I have a class that I create from a factory function like this:
Cake = MyProject.Struct(:type, :price)
In Yard, it's simply displayed along with my constants:
Cake = Struct(:type, :price)
I want it to show up in the "Classes: " list. After reading up on the docs, I was lead to believe that this would work:
# @!parse class Cake; end
Cake = MyProject.Struct(:type, :price)
But it literally changed nothing.
Is it possible to get Yard to document dynamically created classes as classes?