Project

General

Profile

« Previous | Next » 

Revision c2a7a091

Added by nobu (Nobuyoshi Nakada) about 11 years ago

object.c: rb_class_search_ancestor

  • object.c (rb_class_search_ancestor): return ancestor class or
    iclass if inherited.

  • object.c (rb_obj_is_kind_of, rb_class_inherited_p): share
    function to search the ancestor.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e