diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-28 19:40:04 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-28 19:40:04 +0000 |
commit | 9e0442107ed10af448ccf3e5eff8c2b15c311d74 (patch) | |
tree | 2d351f51f9b89b6955e47897215593ae516f1e99 /NEWS | |
parent | 2bb2310fe51e9ef9c09029a24e3f62f23e0db36a (diff) | |
download | ruby-9e0442107ed10af448ccf3e5eff8c2b15c311d74.tar.gz |
* ext/objspace/objspace.c: add two methods to debug internals.
* ObjectSpace.internal_class_of: return RBASIC_CLASS(obj).
* ObjectSpace.internal_super_of: return RCLASS_SUPER(cls).
* NEWS: add information about both methods.
* test/objspace/test_objspace.rb: add tests for both methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,6 +51,8 @@ with all sufficient information, see the ChangeLog file. * ObjectSpace (objspace) * ObjectSpace.count_imemo_objects is added. + * ObjectSpace.internal_class_of is added. + * ObjectSpace.internal_super_of is added. * OpenSSL * OpenSSL::SSL::SSLSocket#accept_nonblock and |