rb_obj_setup 738 include/ruby/ruby.h VALUE rb_obj_setup(VALUE obj, VALUE klass, VALUE type); rb_obj_setup 743 include/ruby/ruby.h #define OBJSETUP(obj,c,t) rb_obj_setup(obj, c, t) /* use NEWOBJ_OF instead of NEWOBJ()+OBJSETUP() */ rb_obj_setup 2008 include/ruby/ruby.h rb_obj_setup(clone, rb_singleton_class_clone(obj), RBASIC(obj)->flags); rb_obj_setup 2016 include/ruby/ruby.h rb_obj_setup(dup, rb_obj_class(obj), RB_FL_TEST_RAW(obj, RUBY_FL_DUPPED));