summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm_method.c b/vm_method.c
index ddcec6cd4e..516b87cb3e 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -510,6 +510,12 @@ search_method(VALUE klass, ID id, VALUE *defined_class_ptr)
return me;
}
+rb_method_entry_t *
+rb_method_entry_at(VALUE klass, ID id)
+{
+ return lookup_method_table(klass, id);
+}
+
/*
* search method entry without the method cache.
*