1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[flori/json] Nodoc for recurse_proc

https://github.com/flori/json/commit/f8c0fe2408
This commit is contained in:
BurdetteLamar 2020-07-29 14:46:13 -05:00 committed by Hiroshi SHIBATA
parent e9096f796c
commit de0e0ffad4
Notes: git 2020-09-25 17:29:11 +09:00

View file

@ -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 }