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:
parent
e9096f796c
commit
de0e0ffad4
Notes:
git
2020-09-25 17:29:11 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue