summaryrefslogtreecommitdiff
path: root/README.EXT
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-02 16:38:31 (GMT)
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-02 16:38:31 (GMT)
commit61bc5c34e938b6da7ece2f36132e35cd1585864e (patch)
tree80df31aeda439fc102451622a1ca78dc75633205 /README.EXT
parentd3c07588a7b338bdcbbb939263df5b7b9fbdfaa8 (diff)
* README.EXT: [DOC] Add rb_call_super when subclassing from @robin850
[Fixes GH-623] https://github.com/ruby/ruby/pull/623 [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r--README.EXT5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.EXT b/README.EXT
index d66d6c5..756f46f 100644
--- a/README.EXT
+++ b/README.EXT
@@ -412,6 +412,11 @@ func has to take the klass as the argument and return a newly
allocated instance. This instance should be as empty as possible,
without any expensive (including external) resources.
+If you are overriding an existing method of any ancestor of your class,
+you may rely on:
+
+ VALUE rb_call_super(int argc, const VALUE *argv)
+
=== Constant Definition
We have 2 functions to define constants: