Skip to content

Commit

Permalink
Merge pull request #442 from BurdetteLamar/rdoc
Browse files Browse the repository at this point in the history
Nodoc for recurse_proc
  • Loading branch information
hsbt committed Jul 31, 2020
2 parents 1a61238 + f8c0fe2 commit e7cf232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/json/common.rb
Expand Up @@ -561,7 +561,7 @@ def load(source, proc = nil, options = {})
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 }
Expand Down

0 comments on commit e7cf232

Please sign in to comment.