aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
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 /actionpack
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 'actionpack')
-rw-r--r--actionpack/lib/action_controller/assertions/deprecated_assertions.rb2
-rwxr-xr-xactionpack/lib/action_controller/cgi_ext/cgi_methods.rb2
-rw-r--r--actionpack/lib/action_controller/routing.rb24
-rw-r--r--actionpack/lib/action_controller/status_codes.rb3
-rw-r--r--actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb3
5 files changed, 17 insertions, 17 deletions
diff --git a/actionpack/lib/action_controller/assertions/deprecated_assertions.rb b/actionpack/lib/action_controller/assertions/deprecated_assertions.rb
index 1bafbd1bc8..5fd187933f 100644
--- a/actionpack/lib/action_controller/assertions/deprecated_assertions.rb
+++ b/actionpack/lib/action_controller/assertions/deprecated_assertions.rb
@@ -2,7 +2,7 @@ require 'rexml/document'
module ActionController #:nodoc:
module Assertions #:nodoc:
- module DeprecatedAssertions
+ module DeprecatedAssertions #:nodoc:
def assert_success(message=nil) #:nodoc:
assert_response(:success, message)
end
diff --git a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
index 437a340b25..55bece29d1 100755
--- a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
+++ b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
@@ -112,7 +112,7 @@ class CGIMethods #:nodoc:
end
end
- class FormEncodedPairParser < StringScanner
+ class FormEncodedPairParser < StringScanner #:nodoc:
attr_reader :top, :parent, :result
def initialize(pairs = [])
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb
index 88b60396c6..4c6377eef7 100644
--- a/actionpack/lib/action_controller/routing.rb
+++ b/actionpack/lib/action_controller/routing.rb
@@ -25,7 +25,7 @@ class NilClass
end
end
-class Regexp
+class Regexp #:nodoc:
def number_of_captures
Regexp.new("|#{source}").match('').captures.length
end
@@ -306,7 +306,7 @@ module ActionController
end
end
- class Route
+ class Route #:nodoc:
attr_accessor :segments, :requirements, :conditions
def initialize
@@ -537,7 +537,7 @@ module ActionController
end
- class Segment
+ class Segment #:nodoc:
attr_accessor :is_optional
alias_method :optional?, :is_optional
@@ -592,7 +592,7 @@ module ActionController
end
end
- class StaticSegment < Segment
+ class StaticSegment < Segment #:nodoc:
attr_accessor :value, :raw
alias_method :raw?, :raw
@@ -626,7 +626,7 @@ module ActionController
end
end
- class DividerSegment < StaticSegment
+ class DividerSegment < StaticSegment #:nodoc:
def initialize(value = nil)
super(value)
self.raw = true
@@ -638,7 +638,7 @@ module ActionController
end
end
- class DynamicSegment < Segment
+ class DynamicSegment < Segment #:nodoc:
attr_accessor :key, :default, :regexp
def initialize(key = nil, options = {})
@@ -726,7 +726,7 @@ module ActionController
end
- class ControllerSegment < DynamicSegment
+ class ControllerSegment < DynamicSegment #:nodoc:
def regexp_chunk
possible_names = Routing.possible_controllers.collect { |name| Regexp.escape name }
"(?i-:(#{(regexp || Regexp.union(*possible_names)).source}))"
@@ -753,7 +753,7 @@ module ActionController
end
end
- class PathSegment < DynamicSegment
+ class PathSegment < DynamicSegment #:nodoc:
EscapedSlash = URI.escape("/")
def interpolation_chunk
"\#{URI.escape(#{local_name}.to_s).gsub(#{EscapedSlash.inspect}, '/')}"
@@ -783,7 +783,7 @@ module ActionController
end
end
- class RouteBuilder
+ class RouteBuilder #:nodoc:
attr_accessor :separators, :optional_separators
def initialize
@@ -959,13 +959,13 @@ module ActionController
end
end
- class RouteSet
+ class RouteSet #:nodoc:
# Mapper instances are used to build routes. The object passed to the draw
# block in config/routes.rb is a Mapper instance.
#
# 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
@@ -994,7 +994,7 @@ module ActionController
# 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
diff --git a/actionpack/lib/action_controller/status_codes.rb b/actionpack/lib/action_controller/status_codes.rb
index d08c811b31..4977c79491 100644
--- a/actionpack/lib/action_controller/status_codes.rb
+++ b/actionpack/lib/action_controller/status_codes.rb
@@ -1,6 +1,5 @@
module ActionController
- module StatusCodes
-
+ module StatusCodes #:nodoc:
# Defines the standard HTTP status codes, by integer, with their
# corresponding default message texts.
# Source: http://www.iana.org/assignments/http-status-codes
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb
index 1fa26918cd..287afcc3c4 100644
--- a/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb
+++ b/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb
@@ -201,7 +201,8 @@ module HTML
# An invalid selector.
- class InvalidSelectorError < StandardError ; end
+ class InvalidSelectorError < StandardError #:nodoc:
+ end
class << self