Permalink
Browse files

Keep the irrelevant stuff out with :nodoc:

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/1-2-pre-release@5981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
dhh committed Jan 18, 2007
1 parent 5c61b17 commit cfb3a80862a94cbd96c6b19f0cdd2f45316e69f0
Showing with 6 additions and 10 deletions.
  1. +2 −2 actionpack/lib/action_controller/routing.rb
  2. +4 −8 activesupport/lib/active_support/reloadable.rb
@@ -964,7 +964,7 @@ class RouteSet #:nodoc:
#
# Mapper instances have relatively few instance methods, in order to avoid
# clashes with named routes.
- class Mapper
+ class Mapper #:nodoc:
def initialize(set)
@set = set
end
@@ -996,7 +996,7 @@ def method_missing(route_name, *args, &proc)
# A NamedRouteCollection instance is a collection of named routes, and also
# maintains an anonymous module that can be used to install helpers for the
# named routes.
- class NamedRouteCollection
+ class NamedRouteCollection #:nodoc:
include Enumerable
attr_reader :routes, :helpers
@@ -4,9 +4,8 @@
#
# 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 @@ def reloadable_classes
#
# 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 @@ def self.included(base) #nodoc:
end
end
- module Deprecated
-
+ module Deprecated #:nodoc:
def self.included(base)
class << base
define_method(:reloadable?) do
@@ -58,7 +56,5 @@ class << base
end
end
end
-
end
-
end

0 comments on commit cfb3a80

Please sign in to comment.