Open ghost opened 9 years ago
A private method is considered low-priority in Inch, which means they are not excluded from suggestions per se, but are considered unimportant in terms of documentation needs. However, Inch has another rule that says "methods with many parameters should be documented" and these methods get assigned a higher priority. This is why the method could be documented albeit being a private one.
As to why the CLI does not show it - this is an inconsistency, which is due to an old compaitibility with YARD's command line arguments (private methods are hidden by default, regardless of their priority). Maybe I should change that for v1.0.0 or at least make it more transparent.
When I run
inch
locally, I don't get told to document a method that is private, however on the CI I am. Why is that? There's another private method in the same place but it doesn't get mentioned by Inch.Re: [U] Crib::Request#request in rafalchmiel/crib