From 8a3eb83c61370d7b0642831c7d63797500aaf0e1 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 10 Dec 2007 17:24:52 +0000 Subject: * eval.c (rb_method_missing): RDoc update patch from Hugh Sasse . [ruby-core:12932] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index e7d144e83..4057b09f6 100644 --- a/eval.c +++ b/eval.c @@ -1269,6 +1269,9 @@ stack_check(void) * are any arguments that were passed to it. By default, the interpreter * raises an error when this method is called. However, it is possible * to override the method to provide more dynamic behavior. + * If it is decided that a particular method should not be handled, then + * super should be called, so that ancestors can pick up the + * missing method. * The example below creates * a class Roman, which responds to methods with names * consisting of roman numerals, returning the corresponding integer -- cgit