We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Namespace
1 parent 3d2ee31 commit 44215c1Copy full SHA for 44215c1
1 file changed
namespace.c
@@ -986,20 +986,23 @@ rb_f_dump_classext(VALUE recv, VALUE klass)
986
return res;
987
}
988
989
+/* :nodoc: */
990
static VALUE
991
rb_namespace_root_p(VALUE namespace)
992
{
993
const rb_namespace_t *ns = (const rb_namespace_t *)rb_get_namespace_t(namespace);
994
return RBOOL(NAMESPACE_ROOT_P(ns));
995
996
997
998
999
rb_namespace_main_p(VALUE namespace)
1000
1001
1002
return RBOOL(NAMESPACE_MAIN_P(ns));
1003
1004
1005
1006
1007
rb_namespace_user_p(VALUE namespace)
1008
0 commit comments