Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add :nodoc: for GeneratorMethods #349

Merged
merged 1 commit into from Dec 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
70 changes: 70 additions & 0 deletions ext/json/ext/generator/generator.c
Expand Up @@ -324,6 +324,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