lib/active_support/dependencies.rb in activesupport-1.4.0 vs lib/active_support/dependencies.rb in activesupport-1.4.1
- old
+ new
@@ -45,11 +45,10 @@
# Set to true to enable logging of const_missing and file loads
mattr_accessor :log_activity
self.log_activity = false
- # :nodoc:
# An internal stack used to record which constants are loaded by any block.
mattr_accessor :constant_watch_stack
self.constant_watch_stack = []
def load?
@@ -380,10 +379,10 @@
frame_ids.include? watch_frame.object_id
end
end
end
- class LoadingModule
+ class LoadingModule #:nodoc:
# Old style environment.rb referenced this method directly. Please note, it doesn't
# actualy *do* anything any more.
def self.root(*args)
if defined?(RAILS_DEFAULT_LOGGER)
RAILS_DEFAULT_LOGGER.warn "Your environment.rb uses the old syntax, it may not continue to work in future releases."