diff options
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2068,7 +2068,7 @@ rb_mod_define_method(int argc, VALUE *argv, VALUE mod) } else { rb_raise(rb_eTypeError, - "wrong argument type %s (expected Proc/Method)", + "wrong argument type %s (expected Proc/Method/UnboundMethod)", rb_obj_classname(body)); } } |