Skip to content

Instantly share code, notes, and snippets.

@nashby

nashby/block3.c Secret

Created April 5, 2018 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nashby/539ab27cec3884b9fd602be5144b05f1 to your computer and use it in GitHub Desktop.
Save nashby/539ab27cec3884b9fd602be5144b05f1 to your computer and use it in GitHub Desktop.
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