Skip to content

accessing method visibilities - #2778

Closed
nobu wants to merge 2 commits into
ruby:masterfrom
nobu:feature/12655-accessing-method-visibilities
Closed

accessing method visibilities#2778
nobu wants to merge 2 commits into
ruby:masterfrom
nobu:feature/12655-accessing-method-visibilities

Conversation

@nobu

@nobu nobu commented Dec 24, 2019

Copy link
Copy Markdown
Member

Comment thread class.c Outdated
Comment thread internal.h Outdated
VALUE rb_obj_protected_methods(int argc, const VALUE *argv, VALUE obj);
VALUE rb_obj_private_methods(int argc, const VALUE *argv, VALUE obj);
VALUE rb_obj_public_methods(int argc, const VALUE *argv, VALUE obj);
VALUE rb_obj_undefined_methods(int argc, const VALUE *argv, VALUE obj);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wasn't this moved to internal/class.h ?

also, what happen to this other function that was present in the original patch?

int rb_obj_basic_to_s_p(VALUE);

@nobu
nobu force-pushed the feature/12655-accessing-method-visibilities branch from 565e0f2 to 597028a Compare December 27, 2019 08:26
@mathieujobin

Copy link
Copy Markdown

will this make it for Ruby 3.1 for Xmas 2021?

@mathieujobin

Copy link
Copy Markdown

was this replaced by something else?

@nobu
nobu force-pushed the feature/12655-accessing-method-visibilities branch from 597028a to c0d275e Compare November 4, 2021 03:55
nobu added 2 commits March 15, 2022 14:22
* class.c (rb_class_undefined_instance_methods): new method
  Module#undefined_instance_methods.

* class.c (rb_obj_undefined_methods): new method
  Kernel#undefined_methods.

[Feature ruby#12655] accessing a method visibility
* class.c (rb_singleton_instance): new method
  Class#singleton_instance.

[Feature ruby#12655] accessing a method visibility
@nobu
nobu force-pushed the feature/12655-accessing-method-visibilities branch from c0d275e to 3007b5b Compare March 15, 2022 08:54
@hsbt

hsbt commented Oct 25, 2023

Copy link
Copy Markdown
Member

@hsbt hsbt closed this Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants