rbs icon indicating copy to clipboard operation
rbs copied to clipboard

Protected methods

Open pointlessone opened this issue 4 years ago • 3 comments

RBS currently doesn't support protected method visibility. Protected methods are specified as public in generated rbs files.

Semantically protected methods are not the same as public. So I have a few questions:

  • Is this intentional?
  • Is protected visibility omitted from the initial release and will be supported later?

pointlessone avatar Jan 18 '21 11:01 pointlessone

If support for protected methods is on the roadmap, I'd be willing to submit a PR for it.

castwide avatar Jul 20 '21 16:07 castwide

Any interest in this feature? It might be uncommon, but it's still useful ("and Solargraph already supports it," I added humbly).

castwide avatar Sep 21 '21 04:09 castwide

Protected, private, and public all need typing checking, code-completion, and all the other benefits rbs provides.

skull-squadron avatar Sep 27 '22 02:09 skull-squadron