Skip to content

Commit

Permalink
Merge pull request #349 from zverok/nodoc
Browse files Browse the repository at this point in the history
Add :nodoc: for GeneratorMethods
  • Loading branch information
hsbt committed Dec 29, 2019
2 parents 97214ac + 2f3f44c commit 6004ace
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions ext/json/ext/generator/generator.c
Expand Up @@ -328,6 +328,76 @@ static char *fstrndup(const char *ptr, unsigned long len) {
*
*/

/* 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)
*
Expand Down

0 comments on commit 6004ace

Please sign in to comment.