aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/string.c b/string.c
index 8046145178..7a5c7b45a3 100644
--- a/string.c
+++ b/string.c
@@ -4802,10 +4802,7 @@ sym_call(VALUE args, VALUE sym)
static VALUE
sym_to_proc(VALUE sym)
{
- rb_notimplement();
- return Qnil;
- // TODO
- // return rb_proc_new(sym_call, (VALUE)SYM2ID(sym));
+ return rb_proc_new(sym_call, (VALUE)SYM2ID(sym));
}