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

Ruby catalog needs updating (2.3.0) #1389

Closed
Defman21 opened this Issue May 5, 2016 · 4 comments

Comments

Projects
None yet
3 participants
@Defman21
Contributor

Defman21 commented May 5, 2016

Short Summary

For example, there's no method include? for [] type in auto-complete. But in 2.3.0 this method exists.
Or, there's no instance_exec or instance_eval methods for any Ruby object available (for self as well, so if there's no object before instance_exec (like "hi".instance_exec) it still should be visible in auto-complete popup, like puts or similar)

@Naatan Naatan added this to the 10.1 milestone May 5, 2016

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented May 5, 2016

I did update the Ruby catalog to 2.3, but either the rdoc doesn't exist for the methods you described (totally possible), or our rdoc/ri crawler is missing something (less likely, but still possible).

@Defman21

This comment has been minimized.

@Defman21

This comment has been minimized.

Contributor

Defman21 commented May 5, 2016

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Jun 16, 2016

Note to self: line 344 (methods = (liveObject.instance_methods + liveObject.methods - Module.methods).sort) is incorrectly assuming liveObject.method(:include?) == Module.method(:include?) for the Enumerable module (this is false). Need to rewrite this expression to accurately "diff" the Enumerable module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment