Open pavlitsky opened 5 years ago
Add basic validation for method's parameters. If they're invalid then don't document either entire method or only skip its parameters.
Bad params examples:
def foo(bar, baz qux) end
def foo ; end
Also fix param name in this case, it should parse as other, not |other.
other
|other
# # <Description> # # @param [<Type>] |other <description> # # @return [<Type>] <description> # def |(other) end
Add basic validation for method's parameters. If they're invalid then don't document either entire method or only skip its parameters.
Bad params examples: