From dc8989a42561e395b90b3113c2cd889e39087ec0 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 6 Jul 2005 10:43:42 +0000 Subject: [PATCH] Fixed documentation for release (AS) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/core_ext/cgi.rb | 2 +- .../active_support/core_ext/hash/indifferent_access.rb | 2 +- .../lib/active_support/core_ext/load_error.rb | 10 +++++----- activesupport/lib/active_support/dependencies.rb | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/activesupport/lib/active_support/core_ext/cgi.rb b/activesupport/lib/active_support/core_ext/cgi.rb index 2378297b7d..072a7c99d2 100644 --- a/activesupport/lib/active_support/core_ext/cgi.rb +++ b/activesupport/lib/active_support/core_ext/cgi.rb @@ -1,5 +1,5 @@ require File.dirname(__FILE__) + '/cgi/escape_skipping_slashes' -class CGI +class CGI #:nodoc: extend(ActiveSupport::CoreExtensions::CGI::EscapeSkippingSlashes) end diff --git a/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb b/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb index 92653171f9..d818d86a09 100644 --- a/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +++ b/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb @@ -50,7 +50,7 @@ end module ActiveSupport #:nodoc: module CoreExtensions #:nodoc: module Hash #:nodoc: - module IndifferentAccess + module IndifferentAccess #:nodoc: def with_indifferent_access HashWithIndifferentAccess.new(self) end diff --git a/activesupport/lib/active_support/core_ext/load_error.rb b/activesupport/lib/active_support/core_ext/load_error.rb index a04c4215d4..fac4639eed 100644 --- a/activesupport/lib/active_support/core_ext/load_error.rb +++ b/activesupport/lib/active_support/core_ext/load_error.rb @@ -1,4 +1,4 @@ -class MissingSourceFile < LoadError +class MissingSourceFile < LoadError #:nodoc: attr_reader :path def initialize(message, path) super(message) @@ -24,10 +24,10 @@ class MissingSourceFile < LoadError ] end -module ActiveSupport - module CoreExtensions - module LoadErrorExtensions - module LoadErrorClassMethods +module ActiveSupport #:nodoc: + module CoreExtensions #:nodoc: + module LoadErrorExtensions #:nodoc: + module LoadErrorClassMethods #:nodoc: def new(*args) (self == LoadError && MissingSourceFile.from_message(args.first)) || super end diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb index ef5fd0ce1f..bb46087582 100644 --- a/activesupport/lib/active_support/dependencies.rb +++ b/activesupport/lib/active_support/dependencies.rb @@ -1,6 +1,6 @@ require File.dirname(__FILE__) + '/module_attribute_accessors' -module Dependencies +module Dependencies #:nodoc: extend self @@loaded = [ ] @@ -48,7 +48,7 @@ module Dependencies # load the relavent files automatically. # # Ruby-style modules are supported, as a folder named 'submodule' will load 'submodule.rb' when available. - class LoadingModule < Module + class LoadingModule < Module #:nodoc: attr_reader :path attr_reader :root @@ -111,7 +111,7 @@ module Dependencies end end - class RootLoadingModule < LoadingModule + class RootLoadingModule < LoadingModule #:nodoc: attr_reader :load_paths def initialize(*paths) @@ -137,7 +137,7 @@ module Dependencies end # This object defines a path from which Constants can be loaded. - class ConstantLoadPath + class ConstantLoadPath #:nodoc: # Create a new load path with the filesystem path def initialize(root) @root = root end @@ -205,7 +205,7 @@ class Object #:nodoc: end # Add file-blaming to exceptions -class Exception +class Exception #:nodoc: def blame_file!(file) (@blamed_files ||= []).unshift file end