[flori/json] Nodoc for recurse_proc
https://github.com/flori/json/commit/f8c0fe2408
This commit is contained in:
parent
e9096f796c
commit
de0e0ffad4
Notes:
git
2020-09-25 17:29:11 +09:00
@ -561,7 +561,7 @@ module JSON
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Recursively calls passed _Proc_ if the parsed data structure is an _Array_ or _Hash_
|
# 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
|
case result
|
||||||
when Array
|
when Array
|
||||||
result.each { |x| recurse_proc x, &proc }
|
result.each { |x| recurse_proc x, &proc }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user