mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1.8 block variable shadowing strikes again
This commit is contained in:
parent
dbe08026e1
commit
c6db3486c3
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,8 @@ module ActiveSupport #:nodoc:
|
||||||
# element of self[Object] will be an Array of the constants that were present
|
# element of self[Object] will be an Array of the constants that were present
|
||||||
# before parent.rb was required. The second element will be an Array of the
|
# before parent.rb was required. The second element will be an Array of the
|
||||||
# constants that were present before child.rb was required.
|
# constants that were present before child.rb was required.
|
||||||
self[namespace].each do |constants|
|
self[namespace].each do |namespace_constants|
|
||||||
constants.concat(new_constants)
|
namespace_constants.concat(new_constants)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Normalize the list of new constants, and add them to the list we will return
|
# Normalize the list of new constants, and add them to the list we will return
|
||||||
|
|
Loading…
Reference in a new issue