Skip to content

Commit 6a66254

Browse files
committed
[DOC] Mark Namespace debug methods to be "nodoc"
These methods are debug methods and no RDoc is provided. Mark these methods as "nodoc" to fix "Miscellaneous checks" CI job. Failed CI job: https://github.com/ruby/ruby/actions/runs/18081591948/job/51445635741
1 parent 14c234a commit 6a66254

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

namespace.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,12 +826,14 @@ Init_enable_namespace(void)
826826

827827
#ifdef RUBY_DEBUG
828828

829+
/* :nodoc: */
829830
static VALUE
830831
rb_namespace_s_root(VALUE recv)
831832
{
832833
return root_namespace->ns_object;
833834
}
834835

836+
/* :nodoc: */
835837
static VALUE
836838
rb_namespace_s_main(VALUE recv)
837839
{
@@ -908,6 +910,7 @@ dump_classext_i(rb_classext_t *ext, bool is_prime, VALUE _ns, void *data)
908910
}
909911
}
910912

913+
/* :nodoc: */
911914
static VALUE
912915
rb_f_dump_classext(VALUE recv, VALUE klass)
913916
{

0 commit comments

Comments
 (0)