summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index de8408170d..64fa28bd98 100644
--- a/eval.c
+++ b/eval.c
@@ -421,6 +421,16 @@ rb_get_method_body(klassp, idp, noexp)
return body;
}
+NODE*
+rb_method_node(klass, id)
+ VALUE klass;
+ ID id;
+{
+ int noex;
+
+ return rb_get_method_body(&klass, &id, &noex);
+}
+
static void
remove_method(klass, mid)
VALUE klass;