[ruby-cvs:57810] ko1:r50662 (trunk): * ext/objspace/objspace.c: add two methods to debug internals.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri May 29 04:40:06 JST 2015


ko1	2015-05-29 04:40:04 +0900 (Fri, 29 May 2015)

  New Revision: 50662

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50662

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/ext/objspace/objspace.c
    trunk/test/objspace/test_objspace.rb


More information about the ruby-cvs mailing list