rb_ivar_count 939 include/ruby/intern.h st_index_t rb_ivar_count(VALUE); rb_ivar_count 561 object.c if (rb_ivar_count(obj) > 0) {