Subject: Just wondering about mod_freeze()
From: Dave Thomas <dave pragprog.com>
Date: Thu, 6 Mar 2008 04:33:07 +0900
static VALUE
rb_mod_freeze(VALUE mod)
{
rb_mod_to_s(mod);
return rb_obj_freeze(mod);
}
The call to rb_mod_to_s(mod) seems to be spurious? Is it just to set
the class name in mod? If so, could we just call rb_class_name?
Dave