pub(crate) fn set_const(
        &mut self,
        mut class_obj: Module,
        class_name: IdentId,
        val: impl Into<Value>,
    ) {
        let val = val.into();
        class_obj.set_const(class_name, val);
        self.const_version += 1;
    }
Bind `class_object` to the constant `class_name` of the root object.
ruruby/src/globals/constants.rs