-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to find missing methods? #222
Comments
I think |
I wrote a script to find methods and aliases that are missing from an RBS by using the runtime prototyper:
It's pretty hacky, and there are methods that shouldn't be in here like |
That's almost what I want, but it adds a lot of extra stuff to the RBS file that gets output, and I just want to know what the RBS file is missing :) |
For example, Range is currently missing the
minmax
method that was added in Ruby 2.7.https://github.com/ruby/ruby-signature/blob/117a94a55380a2bfa04f3f383822dfc563a4312d/stdlib/builtin/range.rbs
Is there any way to find methods that aren't represented in the ruby-signature type library, and if not should we create some way of doing that? Having a way of tracking 'type coverage' for the Ruby core and stdlib classes would probably be pretty useful.
The text was updated successfully, but these errors were encountered: