mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_method_missing): RDoc update patch from Hugh Sasse
<hgs AT dmu.ac.uk>. [ruby-core:12932] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ff7f462bf4
commit
0dd39db036
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Dec 11 02:23:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_method_missing): RDoc update patch from Hugh Sasse
|
||||
<hgs AT dmu.ac.uk>. [ruby-core:12932]
|
||||
|
||||
Tue Dec 11 01:51:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* lib/net/http.rb (Net::HTTP::get): now supports gzip
|
||||
|
|
3
eval.c
3
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
|
||||
* <i>super</i> should be called, so that ancestors can pick up the
|
||||
* missing method.
|
||||
* The example below creates
|
||||
* a class <code>Roman</code>, which responds to methods with names
|
||||
* consisting of roman numerals, returning the corresponding integer
|
||||
|
|
Loading…
Reference in a new issue