summaryrefslogtreecommitdiff
path: root/ext/json/lib
diff options
context:
space:
mode:
authorBurdetteLamar <burdettelamar@yahoo.com>2020-07-29 14:46:13 -0500
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-25 17:28:42 +0900
commitde0e0ffad4e0cf0360efbff2e0e8988f9aa0727a (patch)
treed33c6b49291c0f3b4d2b652b3b51fedf5ae44c1e /ext/json/lib
parente9096f796c565da46dfab3c72acb78dbf3b2df5b (diff)
[flori/json] Nodoc for recurse_proc
https://github.com/flori/json/commit/f8c0fe2408
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3581
Diffstat (limited to 'ext/json/lib')
-rw-r--r--ext/json/lib/json/common.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb
index 8914a746b8..f6230a7c2a 100644
--- a/ext/json/lib/json/common.rb
+++ b/ext/json/lib/json/common.rb
@@ -561,7 +561,7 @@ module JSON
end
# Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_
- def recurse_proc(result, &proc)
+ def recurse_proc(result, &proc) # :nodoc:
case result
when Array
result.each { |x| recurse_proc x, &proc }