Skip to content

Instantly share code, notes, and snippets.

@nashby

nashby/block3.c Secret

Created Apr 5, 2018
Embed
What would you like to do?
rb_obj_singleton_method(VALUE obj, VALUE vid)
{
...
if (!id) {
if (!NIL_P(klass = rb_singleton_class_get(obj))
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment