I have what I suggested is a fairly simple use of the yards macro when I have a hash structure with several parameters that are shared between several functions. I was hoping to use the macro just to stop me from repeating this structure everywhere, but it doesn't seem like it.
What I expected to work was:
def my_func h1
end
def other_func h2, a, b
end
and document h1 and h2 correctly. I think I realized that at least $ 1 doesn’t work the way it does, instead of the function itself, but I can call both h1 parameters and replace $ 1 h1 in the macro, and I still don’t get what I want,
" " http://rubydoc.info/docs/yard/file/docs/Tags.md#macro , ( , @! , , , ).
, ? - , ? , , ?