[前][次][番号順一覧][スレッド一覧]

ruby-changes:59633

From: zverok <ko1@a...>
Date: Mon, 6 Jan 2020 16:34:57 +0900 (JST)
Subject: [ruby-changes:59633] 7f1e3a7b7c (master): [flori/json] Add :nodoc: for GeneratorMethods

https://git.ruby-lang.org/ruby.git/commit/?id=7f1e3a7b7c

From 7f1e3a7b7ceb6e5bdfee13da50588d855156b7e0 Mon Sep 17 00:00:00 2001
From: zverok <zverok.offline@g...>
Date: Thu, 8 Mar 2018 20:32:00 +0200
Subject: [flori/json] Add :nodoc: for GeneratorMethods

https://github.com/flori/json/commit/2f3f44c180

diff --git a/ext/json/generator/generator.c b/ext/json/generator/generator.c
index 881435e..ae60c4f 100644
--- a/ext/json/generator/generator.c
+++ b/ext/json/generator/generator.c
@@ -328,6 +328,76 @@ static char *fstrndup(const char *ptr, unsigned long len) { https://github.com/ruby/ruby/blob/trunk/ext/json/generator/generator.c#L328
  *
  */
 
+/* Explanation of the following: that's the only way to not pollute
+ * standard library's docs with GeneratorMethods::<ClassName> which
+ * are uninformative and take a large place in a list of classes
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::Array
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::Bignum
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::FalseClass
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::Fixnum
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::Float
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::Hash
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::Integer
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::NilClass
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::Object
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::String
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::String::Extend
+ * :nodoc:
+ */
+
+/*
+ * Document-module: JSON::Ext::Generator::GeneratorMethods::TrueClass
+ * :nodoc:
+ */
+
 /*
  * call-seq: to_json(state = nil)
  *
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]