Method: ActiveSupport::Dependencies::WatchStack#initialize
- Defined in:
- lib/active_support/dependencies.rb
#initialize ⇒ WatchStack
if parent.rb is autoloaded, the stack will look like [[Object]]. If parent.rb then requires namespace/child.rb, the stack will look like [[Object], [Namespace]].
81 82 83 84 |
# File 'lib/active_support/dependencies.rb', line 81 def initialize @watching = [] super { |h,k| h[k] = [] } end |