Open floehopper opened 4 years ago
I've just tried this with yard v0.9.28 and it seems to work as I expected.
I've experimented with this in https://github.com/freerange/mocha/compare/yardoc-nest-examples-within-overloads. It looks promising.
I think we might be able to use this for Expectation#with
if we separate the block version of the method into a separate overload
and the nest the examples accordingly.
e.g. in docs for
Mock#expects
If YARD supports this properly, I think it could make the documentation a lot clearer.