aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-23 02:16:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-23 02:16:42 +0000
commit16ef24ac0862e84f2c0edd58eba1d44f59c63f00 (patch)
tree0ab2804b6aab21b2d07c840458f10a515dfef3b5
parent4739266ad4b678b9e31a076a32e0dfa1d3109de6 (diff)
downloadruby-16ef24ac0862e84f2c0edd58eba1d44f59c63f00.tar.gz
[DOC] nodoc internal methods/classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--complex.c3
-rw-r--r--error.c2
-rw-r--r--gc.c1
-rw-r--r--process.c1
-rw-r--r--rational.c1
5 files changed, 7 insertions, 1 deletions
diff --git a/complex.c b/complex.c
index dc7e61a605..a8fdbc0e01 100644
--- a/complex.c
+++ b/complex.c
@@ -2300,7 +2300,8 @@ Init_Complex(void)
rb_define_method(rb_cComplex, "infinite?", rb_complex_infinite_p, 0);
rb_define_private_method(rb_cComplex, "marshal_dump", nucomp_marshal_dump, 0);
- compat = rb_define_class_under(rb_cComplex, "compatible", rb_cObject); /* :nodoc: */
+ /* :nodoc: */
+ compat = rb_define_class_under(rb_cComplex, "compatible", rb_cObject);
rb_define_private_method(compat, "marshal_load", nucomp_marshal_load, 1);
rb_marshal_define_compat(rb_cComplex, compat, nucomp_dumper, nucomp_loader);
diff --git a/error.c b/error.c
index 0b142a3967..0f60f491ec 100644
--- a/error.c
+++ b/error.c
@@ -298,6 +298,7 @@ end_with_asciichar(VALUE str, int c)
rb_str_end_with_asciichar(str, c);
}
+/* :nodoc: */
static VALUE
warning_write(int argc, VALUE *argv, VALUE buf)
{
@@ -2411,6 +2412,7 @@ Init_Exception(void)
rb_define_method(rb_mWarning, "warn", rb_warning_s_warn, 1);
rb_extend_object(rb_mWarning, rb_mWarning);
+ /* :nodoc: */
rb_cWarningBuffer = rb_define_class_under(rb_mWarning, "buffer", rb_cString);
rb_define_method(rb_cWarningBuffer, "write", warning_write, -1);
diff --git a/gc.c b/gc.c
index ad4cd55b2a..af7c2a202d 100644
--- a/gc.c
+++ b/gc.c
@@ -8324,6 +8324,7 @@ wmap_final_func(st_data_t *key, st_data_t *value, st_data_t arg, int existing)
return ST_CONTINUE;
}
+/* :nodoc: */
static VALUE
wmap_finalize(VALUE self, VALUE objid)
{
diff --git a/process.c b/process.c
index dd23148a00..a09c3e18e6 100644
--- a/process.c
+++ b/process.c
@@ -7662,6 +7662,7 @@ InitVM_process(void)
rb_define_module_function(rb_mProcess, "waitall", proc_waitall, 0);
rb_define_module_function(rb_mProcess, "detach", proc_detach, 1);
+ /* :nodoc: */
rb_cWaiter = rb_define_class_under(rb_mProcess, "Waiter", rb_cThread);
rb_undef_alloc_func(rb_cWaiter);
rb_undef_method(CLASS_OF(rb_cWaiter), "new");
diff --git a/rational.c b/rational.c
index e38695ec43..3fbfc7f1b1 100644
--- a/rational.c
+++ b/rational.c
@@ -2748,6 +2748,7 @@ Init_Rational(void)
rb_define_method(rb_cRational, "inspect", nurat_inspect, 0);
rb_define_private_method(rb_cRational, "marshal_dump", nurat_marshal_dump, 0);
+ /* :nodoc: */
compat = rb_define_class_under(rb_cRational, "compatible", rb_cObject);
rb_define_private_method(compat, "marshal_load", nurat_marshal_load, 1);
rb_marshal_define_compat(rb_cRational, compat, nurat_dumper, nurat_loader);