aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/reloadable.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-01-26 21:37:38 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-01-26 21:37:38 +0000
commit0aa0c84c179e82a2c7d206e75a5d515b82deeba5 (patch)
treea4dc530a6a2248d7edaf1029124e126765327117 /activesupport/lib/active_support/reloadable.rb
parent768b60e60d19b8940138d5f412fa79f074b5c123 (diff)
downloadrails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.tar.gz
rails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.tar.bz2
rails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.zip
Nodoc the irrelevant (from 1.2)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/reloadable.rb')
-rw-r--r--activesupport/lib/active_support/reloadable.rb12
1 files changed, 4 insertions, 8 deletions
diff --git a/activesupport/lib/active_support/reloadable.rb b/activesupport/lib/active_support/reloadable.rb
index baa8741b30..084bda1ee2 100644
--- a/activesupport/lib/active_support/reloadable.rb
+++ b/activesupport/lib/active_support/reloadable.rb
@@ -4,9 +4,8 @@ require 'active_support/deprecation'
#
# Deprecated as of Rails 1.2.
# All autoloaded objects are now unloaded.
-module Reloadable
- class << self
-
+module Reloadable #:nodoc:
+ class << self
def included(base) #nodoc:
unless base.ancestors.include?(Reloadable::Subclasses) # Avoid double warning
ActiveSupport::Deprecation.warn "Reloadable has been deprecated and has no effect.", caller
@@ -37,7 +36,7 @@ module Reloadable
#
# Deprecated as of Rails 1.2.
# All autoloaded objects are now unloaded.
- module Subclasses
+ module Subclasses #:nodoc:
def self.included(base) #nodoc:
base.send :include, Reloadable
ActiveSupport::Deprecation.warn "Reloadable::Subclasses has been deprecated and has no effect.", caller
@@ -48,8 +47,7 @@ module Reloadable
end
end
- module Deprecated
-
+ module Deprecated #:nodoc:
def self.included(base)
class << base
define_method(:reloadable?) do
@@ -58,7 +56,5 @@ module Reloadable
end
end
end
-
end
-
end \ No newline at end of file