rbs
rbs copied to clipboard
Protected methods
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?
If support for protected methods is on the roadmap, I'd be willing to submit a PR for it.
Any interest in this feature? It might be uncommon, but it's still useful ("and Solargraph already supports it," I added humbly).
Protected, private, and public all need typing checking, code-completion, and all the other benefits rbs provides.